Leslie_Branch@hgsi.com
2002-Jan-16 19:15 UTC
[R] Validating R after it has been installed!
Hello All, Just wondering if anyone may have a quick fix to our dilemma here. I work for a company called HGS (Human Genome Sciences), we are in the pharmaceutical business. Everything we do has to be tested and re-tested to ensure we are providing the most accurate form of data. On top of that everything is validated and regulated by FDA. What this means is every application on a validated server has to be tested in a test environment then installed into the production environment at which it has to be re-tested. While compiling R (Any version) you run configure, make test, and then make install. After which you are done. I am wondering if there is a way we can run the "make test" part again on what was just installed. If I understand the process correctly when you initially run "make test" you are testing R in the test area and not the install directory. Is it something as simple as changing the BASEDIR in the makefile or is it a bit more complicated. Thanks in advance for your HELP! Leslie -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Leslie_Branch at hgsi.com writes:> While compiling R (Any version) you run configure, make test, and then make > install. After which you are done. I am wondering if there is a way we > can run the "make test" part again on what was just installed. If I > understand the process correctly when you initially run "make test" you are > testing R in the test area and not the install directory. Is it something > as simple as changing the BASEDIR in the makefile or is it a bit more > complicated.Installation is almost exclusively a copying operation, so it is unlikely that installation would break the kind of thing that "make test" checks for, but you could change the definition of $R in the makefiles inside tests/ and tests/Examples. Alternatively, you can skip the installation step and run R out of the build directory (ln -sf path/to/RBUILD/bin/R /usr/local/bin). -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Just a thought: presumably the test routine works by running a series of calculations on known data, then comparing the results of these calculations to the known-correct results. There's no reason you couldn't produce such a test suite, tuned specifically for the analyses you do, and run it yourself. Hope this helps- ap ---------------------------------------------------------------------- Andrew J Perrin - andrew_perrin at unc.edu - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill 269 Hamilton Hall, CB#3210, Chapel Hill, NC 27599-3210 USA On Wed, 16 Jan 2002 Leslie_Branch at hgsi.com wrote:> Hello All, > > Just wondering if anyone may have a quick fix to our dilemma here. > > I work for a company called HGS (Human Genome Sciences), we are in the > pharmaceutical business. Everything we do has to be tested and re-tested > to ensure we are providing the most accurate form of data. On top of that > everything is validated and regulated by FDA. What this means is every > application on a validated server has to be tested in a test environment > then installed into the production environment at which it has to be > re-tested. > > While compiling R (Any version) you run configure, make test, and then make > install. After which you are done. I am wondering if there is a way we > can run the "make test" part again on what was just installed. If I > understand the process correctly when you initially run "make test" you are > testing R in the test area and not the install directory. Is it something > as simple as changing the BASEDIR in the makefile or is it a bit more > complicated. > > > Thanks in advance for your HELP! > > > > Leslie > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._