[R-pkg-devel] Log for Windows gives a system requirement Error

2018-08-19 Thread Piyush Gupta
Hi, I am new to R package development. I have built an R package 'LSTModis'. I can be found here : https://github.com/piyush96/LSTModis On running R CMD check on win-builder, the following is the error : ** running examples for arch 'i386' ... ERROR Running examples in 'LSTModis-Ex.R' failed The

[R-pkg-devel] New test in R-devel causes existing packages to fail: "Error: connections left open"

2018-08-19 Thread David B. Dahl
In preparing to submit an update of my package to CRAN, I found that R-devel has a new test regarding "connects left open" that my packages fail. The new test appears to have been committed by Uwe Ligges in revisions 74959 and 74964 on 2018-07-14 and 2018-07-15, respectively. The commit message sa

Re: [R-pkg-devel] New test in R-devel causes existing packages to fail: "Error: connections left open"

2018-08-19 Thread Gábor Csárdi
You could just create a function to close the connection and then people could call it at the end of their test suites. Gabor On Sun, Aug 19, 2018 at 6:22 PM David B. Dahl wrote: > > In preparing to submit an update of my package to CRAN, I found that > R-devel has a new test regarding "connects

Re: [R-pkg-devel] New test in R-devel causes existing packages to fail: "Error: connections left open"

2018-08-19 Thread Gábor Csárdi
Sorry, missed that these were examples, so, yeah, that's harder. G. On Sun, Aug 19, 2018 at 6:32 PM Gábor Csárdi wrote: > > You could just create a function to close the connection and then > people could call it at the end of their test suites. > > Gabor > On Sun, Aug 19, 2018 at 6:22 PM David B

Re: [R-pkg-devel] New test in R-devel causes existing packages to fail: "Error: connections left open"

2018-08-19 Thread Duncan Murdoch
On 19/08/2018 12:34 PM, Gábor Csárdi wrote: Sorry, missed that these were examples, so, yeah, that's harder. G. How about a function that checks if the connection is open before doing anything, and then at the end you close it if it wasn't already open? This will make all examples run slower