Re: [Rd] 'library(ggplot2)' R CMD check WARNING in vignette R code

2014-09-03 Thread Sven E. Templer
This guess solved the issue, thank you! Sven On 4 September 2014 01:16, Uwe Ligges wrote: > > > On 04.09.2014 01:03, Sven E. Templer wrote: >> >> Hi, >> >> can I claim the warning that occurs (at R CMD check --as-cran) when I >> use 'library(ggplot2)' in executed vignette code as SPURIOUS (as >>

Re: [Rd] 'library(ggplot2)' R CMD check WARNING in vignette R code

2014-09-03 Thread Uwe Ligges
On 04.09.2014 01:03, Sven E. Templer wrote: Hi, can I claim the warning that occurs (at R CMD check --as-cran) when I use 'library(ggplot2)' in executed vignette code as SPURIOUS (as mentioned in the CRAN policies at section 'Submission') and (since it is the only warning/error) get my package

[Rd] 'library(ggplot2)' R CMD check WARNING in vignette R code

2014-09-03 Thread Sven E. Templer
Hi, can I claim the warning that occurs (at R CMD check --as-cran) when I use 'library(ggplot2)' in executed vignette code as SPURIOUS (as mentioned in the CRAN policies at section 'Submission') and (since it is the only warning/error) get my package submission accepted? Has anybody experience wit

Re: [Rd] timings for examples in R CMD check

2014-09-03 Thread Brian G. Peterson
Gavin, You were correct. Operator error. My tests/Examples directory contained both a ‘PerformanceAnalytics-Ex.Rout’ and a ‘PerformanceAnalytics-Ex.Rout.save’ file. Corrected now, and check shows * checking examples ... OK Thanks for the help. Brian On 09/03/2014 03:36 PM, Gavin Simp

Re: [Rd] timings for examples in R CMD check

2014-09-03 Thread Gavin Simpson
Brian, What you are doing is how I have always checked my packages: 1. Run R CMD check pkg_tarball.tar.gz 2. mv pkg.Rcheck/pkg-Ex.Rout pkg_sources/tests/Examples/pkg-Ex.Rout.save 3. Next R CMD check pkg_tarball.tar.gz checks against the new Example output Are you sure you are getting the newly c

Re: [Rd] timings for examples in R CMD check

2014-09-03 Thread Yihui Xie
I did not really try it, but perhaps setting _R_CHECK_TIMINGS_=false in your ~/.Renviron works? http://cran.rstudio.com/doc/manuals/r-release/R-ints.html#Tools Regards, Yihui -- Yihui Xie Web: http://yihui.name On Wed, Sep 3, 2014 at 2:58 PM, Brian G. Peterson wrote: > I'm having a very hard t

[Rd] timings for examples in R CMD check

2014-09-03 Thread Brian G. Peterson
I'm having a very hard time making R CMD check produce a clean check on examples because of the timings inserted into examples by R CMD check. I am getting a difference on every example output caused by timing information being inserted by 'R CMD check'. The current 'Writing R Extensions' man

Re: [Rd] Rcpp and dot in package name

2014-09-03 Thread Dirk Eddelbuettel
Stefan, R-devel is the wrong list. Please subscribe to rcpp-devel and ask there. Short tip: Don't use a dot in the name. See the 260+ packages depending on Rcpp listed at the bottom of eg http://cran.rstudio.com/web/packages/Rcpp/index.html -- I essentially see no dot there. Regards, Dirk

[Rd] Rcpp and dot in package name

2014-09-03 Thread Stefan Boehringer
I have run across a problem with Rcpp and trying to create a package with a name containing a dot ('.') using Rcpp.package.skeleton. I get the following error RcppExports.cpp:10:25: error: expected initializer before '.' token RcppExport SEXP genetics.haplotype_rcpp_hello_world() { implying that

Re: [Rd] log(i, base=i) not giving 1

2014-09-03 Thread peter dalgaard
Two notes: 1) For version number comparisons, we could just add a small fuzz like floor(log(x,8)+.Machine$double.eps) and begone with the issue. 2) I did see some other spots where we use log10() to compute field widths for decimal representation of numbers. It might be good to check whether th

Re: [Rd] log(i, base=i) not giving 1

2014-09-03 Thread Martin Maechler
> Prof Brian Ripley > on Wed, 3 Sep 2014 06:46:47 +0100 writes: > On 02/09/2014 22:43, Ben Bolker wrote: >> On 14-09-02 08:48 AM, Martin Maechler wrote: peter dalgaard on Tue, 2 Sep 2014 13:43:21 +0200 writes: >>> >>> > Impressive. Never cea