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

2018-08-23 Thread Henrik Bengtsson
Does R CMD check --as-cran test for newly opened connections or any open connections? Could the check for stray connection in examples/vignettes be: 1. Record what connections are open 2. Attach the package 3. Record what connections are open 4. Run the example 5. Assert that no *new* connections

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

2018-08-23 Thread David B. Dahl
Oops, I accidentally did not "reply-all" Here is my message: Thanks Uwe, Duncan, and Gabor for the response, advise, and flexibility. Regarding Uwe's suggestion: "... there should be a function that creates the connction and one that closes the connection," I should clarify. The rscala pack