Check for calls to installed.packages()
Source:R/check-installed-packages.R
cl_check_installed_packages.RdFlags any call to installed.packages() in R/. Per the CRAN Cookbook,
this function can be slow (it reads several files per installed
package) and shouldn't be used to test whether a package is available;
requireNamespace()/require() are the recommended replacements (or
find.package()/system.file() to locate one, packageDescription()
for details of a small number of packages).