powered by
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.
TRUE
FALSE
# NOT RUN { p_exists(pacman) p_exists(pacman, FALSE) p_exists(I_dont_exist) # }
Run the code above in your browser using DataLab