[R-pkg-devel] Cannot find source of devtool::check() warnings in R code
Ivan Krylov
kry|ov@r00t @end|ng |rom gm@||@com
Thu Dec 9 17:37:08 CET 2021
On Thu, 9 Dec 2021 11:10:36 -0500
Steve Gutreuter <sgutreuter using gmail.com> wrote:
> Warning: replacing previous import ‘pROC::cov’ by ‘stats::cov’
> when loading ‘screenr’
> Warning: replacing previous import ‘pROC::var’ by ‘stats::var’
> when loading ‘screenr’
> Warning: replacing previous import ‘pROC::smooth’ by
> ‘stats::smooth’ when loading ‘screenr’
Could the reason be that you depend on lme4 (and import all of it)
while it Depends: on stats, causing it to be attached [1] when your
package imports it?
--
Best regards,
Ivan
[1]
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Package-Dependencies
More information about the R-package-devel
mailing list