Description Usage Arguments Value See Also Examples
The function takes the output of get_packages
and
writes in a file the commands needed to install and update
package used throughout the project.
1 2 3 4 5 | generate_install_file(
file,
package_df = get_packages(),
include_core_package = FALSE
)
|
file |
The name of the file to be created. |
package_df |
A data frame obtained with |
include_core_package |
Logical, whether to include in the generated install file package which come with R by default |
Nothing
1 2 3 4 5 | ## Not run:
package_df <- get_packages(package_options = c("library"))
generate_install_file("install_packages.R", package_df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.