From Kurt.Hornik at wu-wien.ac.at  Fri Sep  2 22:00:35 2005
From: Kurt.Hornik at wu-wien.ac.at (Kurt Hornik)
Date: Fri, 2 Sep 2005 22:00:35 +0200
Subject: [Rd] R CMD check warning message
	"print.check_code_usage_in_package"
In-Reply-To: <m2oe7bpi55.fsf@macaroni.local>
References: <m2oe7bpi55.fsf@macaroni.local>
Message-ID: <17176.44899.58885.395083@mithrandir.hornik.net>

>>>>> 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



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