tsd_package_prepare | R Documentation |
This function will download a package
with all its dependencies to a zipped archive,
to them be installed within TSD using
tsd_package_install
.
tsd_package_prepare( package, folder = package, repos = getOption("repos"), verbose = TRUE, zip = TRUE, ... )
package |
name of package. character. |
folder |
character. folder to place all necessary files in |
repos |
character vector. Addresses of CRAN mirror(s) |
verbose |
logical. If function should be talkative. |
zip |
logical, if folder should be zipped at the end |
... |
additional arguments to functions |
returns nothing, but creates a folder and zip archive
## Not run: tsd_package_prepare("devtools") tsd_package_prepare("dplyr", folder = "dplyr_pkg") tsd_package_prepare("dplyr", repos = "https://cran.uib.no/", verbose = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.