Skip to content

Problem with Rcmd check

2 messages · Duncan Murdoch, Brian Ripley

#
In Windows, I tried to build and check Paul Gilbert's dse bundle with
the command  

 rcmd check ../library/dse

It ran for a while and built the packages, then failed at the end with
this:

 ** checking Rd files ... OK
 ** checking for undocumented objects ... OK
 ** creating syskern-Ex.R ... ERROR

I get similar errors checking packages, but there

  make pkgcheck-foo

works.  I don't think there's a "bundlecheck-foo" target, is there?

Any workarounds, or hints where I should look to figure out what went
wrong?

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Tue, 17 Apr 2001, Duncan Murdoch wrote:

            
No, but you can check individual packages in a bundle (just set the
PKGDIR).  However, there is a bug if a package has a tests directory, and
it can be fixed by altering the RDIFF line near the top of
src/gnuwin32/check/PkgCheck to be

RDIFF = $(RHOME)/bin/Rcmd Rdiff.sh

(This is fixed in the patched versions.  Rdiff got altered fairly recently
and broke this.)
I think this is a Perl problem we have seen before.  It works for me on NT
(and I think worked for Uwe Ligges too).  Earlier versions (build 613, for
example) of Perl used to work on Win 98, but from ca 619 this happened.
The problem relates to the shell used by the system() command in Perl.