[Rd] File permissions test during R CMD check

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Tue, 26 Feb 2002 15:18:08 +0100

>>>>> "Dirk" == Dirk Eddelbuettel <edd@debian.org> writes:

    Dirk> I (still) use RCS, and not CVS, for my own projects. R
    Dirk> CMD check does not like the 0444 file permissions on
    Dirk> files check into RCS.

    Dirk> I conjecture that this stems from desire to have the
    Dirk> installed files in a state in which they can be
    Dirk> edited, but I might be off base ... In case my
    Dirk> conjecture holds, would it be possible to relax the
    Dirk> restriction during R CMD check, but then install the
    Dirk> files as 0644 ?

Dirk, I've had the exaxt same situation months ago (since then
R-devel was "1.4.0 to be") and reacted the same way as you, just
to R-core instead of R-devel back then ....
My solution was to manually "rcs -U" all the relevant files, and
from then on, rcs kept them rw-r--r-- (aka 644) as desired.
I haven't seen a reason why I should use RCS locks when I'm the
only one accessing these files.

    Dirk> Other than that, R CMD check is a very impressive
    Dirk> tool.

(yes, and because of that and later submission to CRAN
 I agree that "--no-perms" is not a solution to me neither).

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