Dear R-help, I'm trying to create a simple R package that contains 3 string functions, but I have run into some problems: what are the correct permission for the files in the package directory? Yours faitfully, Rasmus * checking for file `stringfun/DESCRIPTION' ... OK * checking package directory ... OK * checking for sufficient/correct file permissions ... WARNING * Found the following text files with incorrect permissions: * ./lower.case.R * ./upper.case.R * ./strip.R * ./man/stringfun.Rd * ./DESCRIPTION * ./INDEX * ./tests/test.R * Please fix permissions. * checking DESCRIPTION Package field ... OK * checking DESCRIPTION Version field ... OK * checking DESCRIPTION License field ... OK * checking DESCRIPTION Description field ... OK * checking DESCRIPTION Title field ... OK * checking DESCRIPTION Author field ... OK * checking DESCRIPTION Maintainer field ... OK * checking R files for syntax errors ... ERROR * Syntax error in file -- ______________________________________________________________________________ Rasmus E. Benestad, D.Phil, AMINSTP, The Norwegian Meteorological Institute rasmus.benestad at met.no phone: (+47) 22 96 33 77 mobile: (+47) 99 45 04 16 fax: (+47) 22 69 63 55 ______________________________________________________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
rasmus.benestad at met.no said:> what are the correct permission for the files in the package > directory?What is the OS you are using? In Linux/unix, `chmod 644 *R' seems to be what is asked for. Further guessing: Red Hat Linux is in conflict with unix tradition (and many other Linuxes) and uses 664 as default permissions. This is because they have abandoned the traditional user/group distinction and put every user to a group of their own. People disagree about benefits of this scheme, but RH is proud of it. cheers, jari oksanen -- Jari Oksanen -- Dept Biology, Univ Oulu, 90014 Oulu, Finland Ph. +358 8 5531526, cell +358 40 5136529, fax +358 8 5531061 email jari.oksanen at oulu.fi, homepage http://cc.oulu.fi/~jarioksa/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._