From Roger.Bivand@nhh.no  Fri Jun 15 20:29:44 2001
From: Roger.Bivand@nhh.no (Roger.Bivand@nhh.no)
Date: Fri, 15 Jun 2001 21:29:44 +0200 (MET DST)
Subject: [Rd] R CMD check (PR#982)
Message-ID: <200106151929.VAA27886@pubhealth.ku.dk>

In revising the splancs package, I use R CMD check. After a number of
changes to various files in the directory tree, R CMD check fails at the
* checking for undocumented objects ... ERROR
stage as shown below. But running undoc() in R (pointed at the Rcheck
directory, not on the older version) doesn't show the same error, and grep
on the Rcheck R code finds the function. I ran undoc() under debug() too,
to be sure that it was looking in the Rcheck location, not the default
library.

Roger

PS: Specifically I was responding to Kurt's note re:
$as.points
$as.points$code
[1] "..."
$as.points$docs
[1] "p"
and doing work on documentation as well. as.points is (...) in both code
and docs now. Is it the ellipsis that is the problem? 

-----------------------------
[rsb@localhost splancs]$ R CMD check splancs
* checking for working latex ... OK
* using log directory /home/rsb/topics/splancs/splancs.Rcheck

Installing source package `splancs' ...
 libs
make: `splancs.so' is up to date.
 R
 data
...

DONE (INSTALL)

* checking for file `splancs/DESCRIPTION' ... OK
* checking package directory ... OK
* checking DESCRIPTION Package field ... OK
* checking DESCRIPTION Version field ... OK
* checking DESCRIPTION Title field ... OK
* checking DESCRIPTION License field ... OK
* checking DESCRIPTION Author field ... OK
* checking DESCRIPTION Maintainer field ... OK
* checking Rd files ... OK
* checking for undocumented objects ... ERROR
*   in eval(expr, envir, enclos) : couldn't find function "as.points"
[rsb@localhost splancs]$ pwd
/home/rsb/topics/splancs
--------------------------------------
Version:
 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status =
 major = 1
 minor = 2.3
 year = 2001
 month = 04
 day = 26
 language = R

Search Path:
 .GlobalEnv, package:splancs, package:mva, package:spatial, package:sda,
package:ctest, Autoloads, package:base
----------------------------------
> undoc("splancs",lib.loc="splancs.Rcheck")
character(0)
> getwd()
[1] "/home/rsb/topics/splancs"
> system("grep as.points splancs.Rcheck/splancs/R/splancs")
as.points <- function(...)
-------------------------------------
-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand@nhh.no
and: Department of Geography and Regional Development, University of
Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland.



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] R CMD check (PR#982)
Roger.Bivand@nhh.no