| check_packages | R Documentation | 
A user-friendly version of functions to check if required R packages are installed and have minimum required versions.
check_packages_by_topic(
  list_name = NULL,
  local_list = getOption("bio.local_list", FALSE),
  upgrade = TRUE,
  ...
)
check_packages_by_name(
  pkgs = NULL,
  local_list = getOption("bio.local_list", FALSE),
  upgrade = TRUE,
  ...
)
| list_name | (character) The name of the list with required R packages. E.g., "mini", "Rcmdr", "Rcmdr-biostat", "bio", etc. | 
| local_list | (logical) If  | 
| upgrade | Upgrade dependencies.
See  | 
| ... | Further arguments to  | 
| pkgs | (character) The name (vector of names) of R packages.
Either  | 
Function invisibly returns object with package installation status.
if (FALSE) {
  check_packages_by_topic("mini", local_list = TRUE)
  check_packages_by_topic("mini", include = "always", local_list = TRUE)
  check_packages_by_topic("mini", include = "always", install = "outdated",
   github = "always", local_list = TRUE)
  check_packages_by_name("bio")
  check_packages_by_name(c("bio", "usethis", "ggplot1"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.