Checks CRAN to determine if a package exists.
p_exists(package, local = FALSE)
Name of package.
logical. If TRUE
checks user's local library for
existence; if FALSE
CRAN for the
package.
if (FALSE) { # \dontrun{
p_exists(pacman)
p_exists(pacman, FALSE)
p_exists(I_dont_exist)
} # }