
Install a package only if needed
installPackageIfNeeded.RdCheck if a package is already installed, if not then install it
Usage
installPackageIfNeeded(
packageToInstallName,
doUpdate,
repo = "https://cloud.r-project.org",
useCiOptions = 1
)
installPackageIfNeeded.RdCheck if a package is already installed, if not then install it
installPackageIfNeeded(
packageToInstallName,
doUpdate,
repo = "https://cloud.r-project.org",
useCiOptions = 1
)