Re: [R-pkg-devel] Issue with including vignettes without building package

2017-04-20 Thread Sven E Templer
Hi Alex, what if you run devtools::install_github(build_vignettes = TRUE) on your students computer? See ?devtools::install Best, Sven > On 20. Apr 2017, at 15:09, Alexandre Courtiol > wrote: > > Dear all, > > I am using a package for teaching: > my slides are html vignettes, and it i

Re: [R-pkg-devel] duplicate function during build

2016-07-23 Thread Sven E. Templer
Despite it might help, learning/using git is not tackling this specific problem, I suggest code that does: sed -e 's/^[\ \t]*//' -e 's/#.*//' R/* | awk '/function/{print $1}' | sort | uniq -d or https://gist.github.com/setempler/7fcf2a3a737ce1293e0623d2bb8e08ed (any comments welcome) If one k

Re: [R-pkg-devel] duplicate function during build

2016-07-22 Thread Sven E. Templer
Not during build, but before, you could run in a bash from the package source root: $ awk '/function/{print $1}' R/* | uniq -d To find the files, use: $ grep R/* Best wishes, Sven > On 23 Jul 2016, at 05:01, ProfJCNash wrote: > > In trying to rationalize some files in a package I'm workin

Re: [R-pkg-devel] R CMD check yielding different results for me than CRAN reviewer

2016-01-26 Thread Sven E. Templer
Dear Adah, win-builder is fairly easy, but once you've setup a github repository using https://github.com/metacran/r-builder you might save even that few amount of work. Best, Sven > On 26 Jan 2016, at 20:54, Dirk Eddelbuettel wrote: > > > On 26 January 2016 at 14:03, Adah Zhang wrote: > |

[R-pkg-devel] winbuilder - missing global definitions / error in example latex code stdout

2016-01-19 Thread Sven E. Templer
Hello everybody, i uploaded a package to the win-builder.r-project.org (R-devel) and received a 00check.log that NOTifiEs about missing visible global functions. Please see http://win-builder.r-project.org/WZnnzaSqBse4/00check.log at the lines following: * checking R code for possible problems