BXC (Bendix Carstensen)
2010-Apr-17 22:25 UTC
[R] Fishy error with NAMESPACE when checking package
I am updating the Epi package. I added functions named pc.points and pc.matpoints. Erroneously I wrote pc.plot and pc.matplot in the NAMESPACE file and of course got an error from Rcmd check. So I corrected the NAMESPACE file, but I still get from r-check: * install options are ' --no-html' Loading required package: utils Error in namespaceExport(ns, exports) : undefined exports: pc.plot, pc.matplot Error: package/namespace load failed for 'Epi' I cannot seem to find any occurrence of the strings "pc.plot" and "pc.matplot" anywhere in the entire package tree. Any idea of what goes on (and where to find the perpetrators)??? I use: _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 10.1 year 2009 month 12 day 14 svn rev 50720 language R version.string R version 2.10.1 (2009-12-14) Best regards, Bendix _______________________________________________ Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2-4 DK-2820 Gentofte Denmark +45 44 43 87 38 (direct) +45 30 75 87 38 (mobile) bxc at steno.dk http://www.biostat.ku.dk/~bxc www.steno.dk This e-mail (including any attachments) is intended for ...{{dropped:8}}
You forgot to rebuild or reinstall ? Uwe Ligges On 18.04.2010 00:25, BXC (Bendix Carstensen) wrote:> I am updating the Epi package. > > I added functions named pc.points and pc.matpoints. > Erroneously I wrote pc.plot and pc.matplot in the NAMESPACE file and of course got an error from Rcmd check. > So I corrected the NAMESPACE file, but I still get from r-check: > > * install options are ' --no-html' > > Loading required package: utils > Error in namespaceExport(ns, exports) : > undefined exports: pc.plot, pc.matplot > Error: package/namespace load failed for 'Epi' > > I cannot seem to find any occurrence of the strings "pc.plot" and "pc.matplot" anywhere in the entire package tree. > > Any idea of what goes on (and where to find the perpetrators)??? > > I use: > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major 2 > minor 10.1 > year 2009 > month 12 > day 14 > svn rev 50720 > language R > version.string R version 2.10.1 (2009-12-14) > > Best regards, > Bendix > _______________________________________________ > > Bendix Carstensen > Senior Statistician > Steno Diabetes Center > Niels Steensens Vej 2-4 > DK-2820 Gentofte > Denmark > +45 44 43 87 38 (direct) > +45 30 75 87 38 (mobile) > bxc at steno.dk http://www.biostat.ku.dk/~bxc > www.steno.dk > > This e-mail (including any attachments) is intended for ...{{dropped:8}} > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.