[Rd] R CMD check file issues

From: Nick Sabbe <nick.sabbe_at_ugent.be>
Date: Thu, 22 Sep 2011 13:53:56 +0200


This problem is likely to be specific to Windows, and particularly Win7.  

After a successful build of a package (R CMD build addendum), I immediately run an R CMD check for the same package.

Not always, but _very_ often, I get the following error:

C:\Users\nisabbe\Documents\@Doctoraat\R>R CMD check addendum

Loading required package: tcltk

Loading Tcl/Tk interface ... done

Loading required package: Hmisc

Loading required package: survival

Loading required package: stats

Loading required package: graphics

Loading required package: splines  

Attaching package: 'Hmisc'  

The following object(s) are masked from 'package:survival':  

    untangle.specials  

The following object(s) are masked from 'package:base':  

    format.pval, round.POSIXt, trunc.POSIXt, units  

Loading required package: R2HTML

Warning in file(filename, "wt") :

  cannot open file
'C:/Users/nisabbe/Documents/@Doctoraat/R/addendum.Rcheck/00ch

eck.log': Permission denied

Error in file(filename, "wt") : cannot open the connection

Execution halted  

If, after this, I immediately reissue the R CMD check command, it works, without the error.

I think this has something to do with how Win7 processes file handling (there are known issues even noticeable in windows explorer), but perhaps there is a way of circumventing this? It would be greatly appreciated, as this issue is preventing automation of build/check/install scripts.  

Suggestions will be greatly appreciated.  

Nick Sabbe

--

ping: nick.sabbe_at_ugent.be

link:  <http://biomath.ugent.be/> http://biomath.ugent.be

wink: A1.056, Coupure Links 653, 9000 Gent

ring: 09/264.59.36

 

-- Do Not Disapprove

 


	[[alternative HTML version deleted]]

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 22 Sep 2011 - 11:56:29 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 25 Sep 2011 - 16:20:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive