Re: [R-pkg-devel] Note and warning about subdirectory sizes

2016-10-03 Thread Luck Buttered
Hi all, Thank you for your help. The only original question I am still a bit stuck on is #3. I read a lot about the command today, and tried several approaches, but am unsure how to remove that warning. * checking sizes of PDF files under ‘inst/doc’ ... WARNING ‘gs+qpdf’ made some

Re: [R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-03 Thread Luck Buttered
Hello everyone: Inside .Rbuildignore, I put the following line: ^OutputFolder$ However, I notice that the extdata/OutputFolder still disappears if there are no files inside of it. (I am thinking this happens when I push changes to Github). I am trying to keep the extdata/OutputFolder present

Re: [R-pkg-devel] Understanding notes from win-builder

2016-10-03 Thread Duncan Murdoch
On 03/10/2016 3:04 PM, Roy Mendelssohn - NOAA Federal wrote: Thanks. The tests were not taking extraordinary amounts of time (roughly 30-40s) but they were greater than 10s. I retested with all the tests commented to be not tested, but based on this I have changed it so there is one simple

Re: [R-pkg-devel] Understanding notes from win-builder

2016-10-03 Thread Brian G. Peterson
In your examples section, do something like this: \donttest{ Sys.sleep(100) # long running example code here } -- Brian On Mon, 2016-10-03 at 10:44 -0700, Roy Mendelssohn - NOAA Federal wrote: > Hi Hadley: > > > You can use \donttest{} to tell CRAN to not run it as part of their > >

Re: [R-pkg-devel] Understanding notes from win-builder

2016-10-03 Thread Roy Mendelssohn - NOAA Federal
Hi Hadley: > You can use \donttest{} to tell CRAN to not run it as part of their > automated tests. > > Hadley > Thank you for the responses. On the response above, \donttest{} goes where? Is that in each R files where I have an example, or somewhere else? -Roy **

Re: [R-pkg-devel] Understanding notes from win-builder

2016-10-03 Thread Hadley Wickham
On Mon, Oct 3, 2016 at 12:10 PM, Roy Mendelssohn - NOAA Federal wrote: > Hi All: > > I am working on preparing a package for submission to CRAN, so using devtools > i submitted the package to win-builder. I really appreciate that this has > been setup, so that

[R-pkg-devel] Understanding notes from win-builder

2016-10-03 Thread Roy Mendelssohn - NOAA Federal
Hi All: I am working on preparing a package for submission to CRAN, so using devtools i submitted the package to win-builder. I really appreciate that this has been setup, so that hopefully any final submission will be smooth. win-builder returned three notes, and I am unclear on them in the

Re: [R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-03 Thread Luck Buttered
Hello everyone: Thank you for the helpful suggestions! I moved the directory name to the .Rbuildignore file, as Johannes suggested. Uwe, thanks for bringing up that topic! Yes, I read that we cannot automatically write files to user's filespace (outside of tempdir()). So, there is nothing in

Re: [R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-03 Thread Uwe Ligges
On 03.10.2016 08:13, Johannes Ranke wrote: Hi, You can include the .gitkeep file in .Rbuildignore. This will prevent it from being present in the package you test or submit, but git willl still see it and keep the directory. Johannes Am Montag, 3. Oktober 2016, 00:03:33 schrieb Luck