Skip to content

pkg/tests: how to run them with --vanilla

1 message · Matthieu Stigler

#
Thanks a lot for your answers!

Actually, I am still a little bit confused, as running R CMD BATCH with 
the --vanilla --slave options produces a .Rout.save without the > at 
each code line, and this is then reported in the R CMD check:

checking tests ...
   Ex?cution ?00SetarAndFriends.R?
   Comparaison ?00SetarAndFriends.Rout? ? ?00SetarAndFriends.Rout.save? 
...1,3d0
<
<
< > library(tsDyn)
12,18d8
< >
< > data(zeroyld)
< > dat<-zeroyld

While if I do just R CMD BATCH, I get another diff report, concerning 
the startup message:
checking tests ...
   Ex?cution ?00SetarAndFriends.R?
   Comparaison ?00SetarAndFriends.Rout? ? ?00SetarAndFriends.Rout.save? 
...1a2,19
 > R version 2.11.1 (2010-05-31)
 > Copyright (C) 2010 The R Foundation for Statistical Computing
 > ISBN 3-900051-07-0

So I did not find a way to have a clean R CMD check output... How do you 
do usually? DOn't you have one of those issues?

Thanks a lot!

Matthieu



Le 04. 07. 10 15:00, Prof Brian Ripley a ?crit :