[R-pkg-devel] no visible global function definition
Daniel Lüdecke
d.luedecke at uke.de
Mon Jun 29 11:10:23 CEST 2015
Hello,
I'm doing my package check for CRAN, in order to see whether submitting the
package-update passes all checks.
I'm doing the tests under Windows 7, using R-Version "R Under development
(unstable) (2015-06-28 r68602)".
Now I got a quite long list of NOTEs, which are probably no problem,
however, I would like to fix these issues, if possible.
It seems that all base and/or stats function now produce a note concering
the visible global function definition. Here's a short example of my output
from my package check:
sjp.grpfrq: no visible global function definition for 'sd'
sjp.grpfrq: no visible global function definition for 'plot'
sjp.int: no visible global function definition for 'sd'
sjp.int: no visible global function definition for 'quantile'
sjp.int: no visible global function definition for 'plogis'
sjp.likert: no visible global function definition for 'xtabs'
sjp.likert: no visible binding for global variable 'offset'
sjp.likert: no visible global function definition for 'plot'
sjp.lm: no visible global function definition for 'coef'
sjp.lm: no visible global function definition for 'coefficients'
sjp.lm: no visible global function definition for 'confint'
sjp.lm.eff: no visible global function definition for 'model.matrix'
Do I have to import all these namespaces now? I'm using RStudio with
roxygen, so I would add an @importFrom stats <function_x_y> where necessary
- but is this the new requirement as of R >= 3.3?
Best wishes
Daniel
--
_____________________________________________________________________
Universitätsklinikum Hamburg-Eppendorf; Körperschaft des öffentlichen Rechts; Gerichtsstand: Hamburg | www.uke.de
Vorstandsmitglieder: Prof. Dr. Burkhard Göke (Vorsitzender), Prof. Dr. Dr. Uwe Koch-Gromus, Joachim Prölß, Rainer Schoppik
_____________________________________________________________________
SAVE PAPER - THINK BEFORE PRINTING
More information about the R-package-devel
mailing list