View source: R/NAME_check_missing_packages.R
check_missing_packages | R Documentation |
Checks which packages are used in a folder/R project but are not installed locally
check_missing_packages(install_missing_packages = FALSE)
install_missing_packages |
should missing packages be installed? Defaults to no (lgl) |
This function checks which R packages are called by the function 'library' in any script file (.r, .rmd, .qmd) in the local working directory. In requested by the user, the missing packages are installed from CRAN. In any case, the difference between the packages callled in the project folder and the packages installed are returned.
string vector of missing packages
## Not run: install_missing_packages()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.