
This function checks whether a package(s) is installed under the library tree(s).
IsPackageInstalled(x, lib = .libPaths())
'character'. Vector of package names
'character'. Vector of library trees
A 'logical' vector the length of argument x
.
# NOT RUN {
IsPackageInstalled(c("inlmisc", "csimlni", "devtools"))
# }
Run the code above in your browser using DataLab