[Rd] help with Rcmd check

From: Whit Armstrong <Whit.Armstrong_at_tudor.com>
Date: Thu 30 Dec 2004 - 02:32:47 EST

I've been working on a package that requires a shared library to be loaded. I have used the NAMESPACE file to load the library according to: http://cran.r-project.org/doc/manuals/R-exts.html#Load%20hooks <http://cran.r-project.org/doc/manuals/R-exts.html#Load%20hooks>

my shared library is "excelpoi.so" hence I have added "useDynLib(excelpoi)" to my NAMESPACE file.

Prior to this change, my package was passing Rcmd check with no errors or warnings. After this change, I get 5 warnings:

whita$grep 'WARN' /home/whita/dvl/excelpoi.Rcheck/00check.log
* checking S3 generic/method consistency ... WARNING

Can anyone suggest a fix to those warnings. My package only has one function in it which has nothing to do with replacement and has no S3 methods. Here it is (from file excelpoi/R/excelpoi.R):

write.xls <- function(x,filename,sheetName,writeColNms=T,writeRowNms=T) {   if(missing(sheetName) && typeof(x)=="list") sheetName <- NULL  

.Call("R2xls",x,filename,sheetName,writeColNms,writeRowNms,PACKAGE="excelpoi ")

Thanks in advance,

        [[alternative HTML version deleted]]

R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Dec 30 01:49:50 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:21 EST