[Rd] R CMD check warning message "print.check_code_usage_in_package"

Kurt Hornik Kurt.Hornik at wu-wien.ac.at
Fri Sep 2 22:00:35 CEST 2005


>>>>> Seth Falcon writes:

> We're seeing many warnings like this:
> Warning: S3 method 'print.check_code_usage_in_package' was declared in
> NAMESPACE but not found

> But the package's NAMESPACE does not contain such a declaration.
> Seeing this in many Bioconductor packages when running R CMD check on
> Windows with R-devel built 1 Sept.

My SVN checkout of the r-devel sources seems to have it:

$ grep print.check_code_usage_in_package *
QC.R:print.check_code_usage_in_package <-

and it also seems to be in the r-devel .tar.gz from ETHZ.

Are you sure you have a current version of r-devel's tools/R/QC.R?

Best
-k

> Below is a snip of the output from R CMD check.  Any ideas of what
> this message is really trying to tell me?  

> Thanks,

> + seth


> * checking S3 generic/method consistency ... WARNING
> Warning: S3 method 'print.check_code_usage_in_package' was declared in NAMESPACE but not found
> See section 'Generic functions and methods' of the 'Writing R Extensions'
> manual.
> * checking replacement functions ... WARNING
> Warning: S3 method 'print.check_code_usage_in_package' was declared in NAMESPACE but not found
> In R, the argument of a replacement function which corresponds to the right
> hand side must be named 'value'.
> * checking foreign function calls ... WARNING
> Warning: S3 method 'print.check_code_usage_in_package' was declared in NAMESPACE but not found
> See section 'System and foreign language interfaces' of the 'Writing R
> Extensions' manual.
> * checking Rd files ... WARNING
> Warning: S3 method 'print.check_code_usage_in_package' was declared in NAMESPACE but not found
> See chapter 'Writing R documentation files' in manual 'Writing R
> Extensions'.
> * checking for missing documentation entries ... WARNING
> Warning: S3 method 'print.check_code_usage_in_package' was declared in NAMESPACE but not found
> All user-level objects in a package should have documentation entries.
> See chapter 'Writing R documentation files' in manual 'Writing R
> Extensions'.
> * checking for code/documentation mismatches ... WARNING
> Warning: S3 method 'print.check_code_usage_in_package' was declared in NAMESPACE but not found
> Warning: S3 method 'print.check_code_usage_in_package' was declared in NAMESPACE but not found

> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list