From gregor.gorjanc at bfro.uni-lj.si  Tue Jul 25 13:04:43 2006
From: gregor.gorjanc at bfro.uni-lj.si (Gregor Gorjanc)
Date: Tue, 25 Jul 2006 13:04:43 +0200
Subject: [Rd] Package Unit Testing
In-Reply-To: <Pine.LNX.4.64.0607251019510.18625@imbe153.imbe.med.uni-erlangen.de>
References: <d35b9da60607021843j5ec840e5j3b69bde225bfa195@mail.gmail.com>
	<17576.50090.402802.304218@stat.math.ethz.ch>
	<loom.20060725T013553-801@post.gmane.org>
	<Pine.LNX.4.64.0607251019510.18625@imbe153.imbe.med.uni-erlangen.de>
Message-ID: <44C5FACB.1080500@bfro.uni-lj.si>

Torsten Hothorn wrote:
...
>> Browsing a bit in sources reveals that *.Rout.save is copy of R session
>> (starts with "welcome" text and later one code and output is there).
>> But how does one generate such a file?
> 
> either R CMD BATCH or simply run R CMD check <pkg> once and copy
> <pkg>.Rcheck/tests/*.Rout into <pkg>/tests/*Rout.save
> 
>> Additionally, does testing also
>> test the first "welcome" text - different version of R haave a bit
>> different
>> "welcome" text and that should be an error then or ...
> 
> R CMD check takes care of that.

Thank you. I am also attaching a small gzipped patch for R-exts.texi. I
did not wrap the lines in the text. If that is necesarry I can do it and
resend the patch.

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.
----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: R-exts.texi-tests-patch.gz
Type: application/x-gzip
Size: 435 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-devel/attachments/20060725/dfd8bb28/attachment.gz 


[Rd] Package Unit Testing
Gregor Gorjanc