Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"notes" from devtools::check() #30

Open
aspina7 opened this issue Jan 31, 2023 · 1 comment
Open

"notes" from devtools::check() #30

aspina7 opened this issue Jan 31, 2023 · 1 comment

Comments

@aspina7
Copy link
Member

aspina7 commented Jan 31, 2023

@zkamvar - do we need to deal with notes from devtools::check()

{stats} is part of base at this point no?

── R CMD check results ──────────────────────────────────────────────────────── epikit 0.1.4 ────
Duration: 41.9s

❯ checking package dependencies ... NOTE
Package suggested but not available for checking: 'covr'

❯ checking R code for possible problems ... NOTE
add_weights_cluster: no visible global function definition for
'setNames'
Undefined global functions or variables:
setNames
Consider adding
importFrom("stats", "setNames")
to your NAMESPACE file.

0 errors ✔ | 0 warnings ✔ | 2 notes ✖

@zkamvar
Copy link
Member

zkamvar commented Feb 12, 2023

the suggested package covr is no problem. The importFrom statement needs to be added with this somewhere in the R code.

#' @importFrom stats setNames

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants