This function queries any online repository for a list of
available packages. They are returned as a vector of strings, each element
being a package name. The data is retrieved from /src/contrib/PACKAGES
or /src/contrib/PACKAGES.gz
file.
See also
Functions for any URL:
wood_url_dependencies()
,
wood_url_version()
Functions that query available packages:
wood_bioc_packages()
,
wood_core_packages()
,
wood_cran_packages()
,
wood_github_packages()
,
wood_local_packages()
,
wood_packages()
,
wood_runiverse_packages()
Examples
# \donttest{
wood_url_packages("http://www.omegahat.net/R")
#> [1] "Aspell" "CGIwithR" "CodeAnalysis"
#> [4] "CodeDepends" "Combinations" "FastCSVSample"
#> [7] "GeoIP" "R2GoogleMaps" "RAmazonDBREST"
#> [10] "RAmazonS3" "RAutoGenRunTime" "RCIndex"
#> [13] "Rcompression" "RCSS" "RCUDA"
#> [16] "RCurl" "RD3Device" "RDCOMClient"
#> [19] "REuPathDB" "RExcelXML" "Rffi"
#> [22] "Rflickr" "RGCCTranslationUnit" "RGCCTUFFI"
#> [25] "RGoogleDocs" "RGoogleStorage" "RGoogleTrends"
#> [28] "RGraphicsDevice" "RHTMLForms" "RJSONIO"
#> [31] "RKML" "RKMLDevice" "Rlibstemmer"
#> [34] "Rnvvm" "RNYTimes" "ROOXML"
#> [37] "ROpenOffice" "RSPARQL" "RSQLiteUDF"
#> [40] "RSQLiteVirtualTable" "Rstem" "RTidyHTML"
#> [43] "RUbigraph" "RWordPress" "RWordXML"
#> [46] "SpiderMonkey" "SSOAP" "SVGAnnotation"
#> [49] "SWinTypeLibs" "Sxslt" "WADL"
#> [52] "XML" "XMLRPC" "XMLSchema"
#> [55] "Zillow"
# Trailing slashes are removed
wood_url_packages("http://www.omegahat.net/R/")
#> [1] "Aspell" "CGIwithR" "CodeAnalysis"
#> [4] "CodeDepends" "Combinations" "FastCSVSample"
#> [7] "GeoIP" "R2GoogleMaps" "RAmazonDBREST"
#> [10] "RAmazonS3" "RAutoGenRunTime" "RCIndex"
#> [13] "Rcompression" "RCSS" "RCUDA"
#> [16] "RCurl" "RD3Device" "RDCOMClient"
#> [19] "REuPathDB" "RExcelXML" "Rffi"
#> [22] "Rflickr" "RGCCTranslationUnit" "RGCCTUFFI"
#> [25] "RGoogleDocs" "RGoogleStorage" "RGoogleTrends"
#> [28] "RGraphicsDevice" "RHTMLForms" "RJSONIO"
#> [31] "RKML" "RKMLDevice" "Rlibstemmer"
#> [34] "Rnvvm" "RNYTimes" "ROOXML"
#> [37] "ROpenOffice" "RSPARQL" "RSQLiteUDF"
#> [40] "RSQLiteVirtualTable" "Rstem" "RTidyHTML"
#> [43] "RUbigraph" "RWordPress" "RWordXML"
#> [46] "SpiderMonkey" "SSOAP" "SVGAnnotation"
#> [49] "SWinTypeLibs" "Sxslt" "WADL"
#> [52] "XML" "XMLRPC" "XMLSchema"
#> [55] "Zillow"
# }