Description Usage Arguments Value Examples
This function will check if input package in pkg.in is installed and, if not, installs it from a chosen repository
1 2 3 | pff_check_install_pkgs(pkg.in, my.available.packages,
my.library.path = .libPaths()[1],
my.repository = "https://cloud.r-project.org")
|
pkg.in |
Name of the package to be installed |
my.available.packages |
Names of locally available (installed) packages |
my.library.path |
Library to search for installed packages (default = .libPaths()[1]) |
my.repository |
Url of CRAN repository (default = "https://cloud.r-project.org" ) |
A dataframe with information about the result of the installation
1 | pff_check_install_pkgs('dplyr')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.