check_package: check_package Internal function to check if a package is...

View source: R/rbms_toolbox.r

check_packageR Documentation

check_package Internal function to check if a package is installed.

Description

check_package Internal function to check if a package is installed.

Usage

check_package(
  pkgName = NULL,
  message1 = "You need to install ",
  message2 = "This version requires"
)

Arguments

pkgName

The package name to be verified.

message1

Inform the user about the package dependency.

message2

Inform the user what happen if the package is not installed.

Value

If package is not found, the user is offered the option to install the missing package.

Author(s)

Reto Schmucki - retoshm@ceh.ac.uk


RetoSchmucki/rbms documentation built on Nov. 29, 2024, 1:30 a.m.