Skip to content

Commit 5a2d8e7

Browse files
committed
chore: created ignore_unused_imports
To remove NOTE when performing CMD check.
1 parent 0c4d06d commit 5a2d8e7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

R/ignore_unused_imports.R

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Remove NOTE when running CMD check and checking dependencies
2+
# Namespaces in Imports field not imported from:
3+
# 'pkgname'
4+
# All declared Imports should be used.
5+
6+
7+
ignore_unused_imports <- function() {
8+
# Packages needed for building vignette: "Contribute to ..."
9+
rmarkdown::html_vignette
10+
knitr::opts_chunk
11+
NVIrpackages::NVIpackages
12+
# Packages needed for template: "check_ok_selection.Rmd"
13+
OKcheck::knit_table_if_data
14+
}

0 commit comments

Comments
 (0)