testInstalledPackages
Hello Duncan, testci.R is a test function for the survival package.? I compared the .Rout and .Rout.save files by eyeball (I'm on a Windows 7 machine, so I can't use the diff function). The only differences I found were in the file headers. This is the header from the .Rout file: R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. Here is the header from the .Rout.save file: R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. As you can see, the header for the .Rout.save file is shorter resulting in a difference in length of three lines. This appears to be nothing serious to worry about, but the the testInstalledPackages function will be run by our IT team (who has no experience with R) as part of the IQ testing, and I am worried that they may be concerned by the 'files differ in numbers of lines:' message. Is there anything I can do to avoid the message? Regards, -Cody
--- On Tue, 6/28/11, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
From: Duncan Murdoch <murdoch.duncan at gmail.com> Subject: Re: [R] testInstalledPackages To: "Cody Hamilton" <cody.shawn at yahoo.com> Cc: r-help at r-project.org Date: Tuesday, June 28, 2011, 1:01 AM On 27/06/2011 5:56 PM, Cody Hamilton wrote:
Dear group,
When running the installation test:
testInstalledPackages("both",outDir='c:/Test')
I got the following message:
Running ?testci.R?
comparing ?testci.Rout? to ?testci.Rout.save?
...
files differ in number of lines: Please note the test does not result in 'OK' as do the
other tests.? Is this a concern? Yes, you should look at the two files to determine why the length has changed. Duncan Murdoch
Regards, ? ???-Cody Hamilton
______________________________________________ R-help at r-project.org
mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained,
reproducible code.