Check that imported packages are actually usedSource:
Check that imported packages are actually used
unused_import_linter( allow_ns_usage = FALSE, except_packages = c("bit64", "data.table", "tidyverse") )
Suppress lints for packages only used via namespace. This is
FALSEby default because
library(pkg). You can use requireNamespace("pkg") to ensure a package is installed without loading it.
Character vector of packages that are ignored. These are usually attached for their side effects.
linters for a complete list of linters available in lintr.