powered by
Check for missing packages in library(), require(), loadNamespace(), and requireNamespace() calls.
library()
require()
loadNamespace()
requireNamespace()
missing_package_linter()
common_mistakes, robustness
linters for a complete list of linters available in lintr.
# will produce lints lint( text = "library(xyzxyz)", linters = missing_package_linter() ) # okay lint( text = "library(stats)", linters = missing_package_linter() )
Run the code above in your browser using DataLab