if (FALSE) { # interactive() || identical(Sys.getenv("IN_PKGDOWN"), "true")
if (FALSE) {
check_if_installed("insight")
try(check_if_installed("nonexistent_package"))
try(check_if_installed("insight", minimum_version = "99.8.7"))
try(check_if_installed(c("nonexistent", "also_not_here"), stop = FALSE))
}
}
Run the code above in your browser using DataLab