You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of unexported/internal functions called via ::: is not allowed by CRAN. For example, after running Rcmd check, a warning is produced:
Unexported objects imported by ':::' calls:
'lme4:::predict.merMod' 'randomForest:::predict.randomForest'
'rpart:::predict.rpart' 'stats:::prcomp.formula'
'stats:::predict.prcomp' 'xgboost:::predict.xgb.Booster'
See the note in ?`:::` about the use of this operator.
Including base/recommended package(s):
'stats' 'rpart'
There has been debate about this issue. For examples, see:
Although it is not an ideal solution (see answers in thread), it may be appropriate for twidlr, which (ideally) places responsibility on the model packages to get these things right.
The use of unexported/internal functions called via
:::
is not allowed by CRAN. For example, after running Rcmd check, a warning is produced:There has been debate about this issue. For examples, see:
http://stackoverflow.com/questions/20515358/rcmd-check-unexported-objects-imported-by-calls
http://stackoverflow.com/questions/32535773/using-un-exported-function-from-another-r-package
https://stat.ethz.ch/pipermail/r-devel/2013-August/thread.html#67180 (Search for "[Rd] legitimate use of :::")
Overall, the advice on these links has been to either:
Should CRAN be considered as an outlet for this package, this issue will need to be fixed.
The text was updated successfully, but these errors were encountered: