Re: [R-pkg-devel] creating indelible file during unit test

2017-12-14 Thread Thierry Onkelinx
Thanks for the replies to my question. My function uses first list.files() to select the relevant files and then file.remove() to delete them. Redefining file.remove() doesn't work in case of a package due to lexical scoping. Otherwise this would be a simple and portable solution. Having a Linux

Re: [R-pkg-devel] Trouble installing XML on Windows 7 (64-bit)

2017-12-14 Thread Duncan Murdoch
On 14/12/2017 12:58 PM, Haigh, Rowan wrote: I maintain a few packages on CRAN, one of which depends on the XML package. Using the latest R-devel (2017-12-13 r73907), I can install the XML Windows binary from CRAN but I cannot load it: How exactly did you install XML, and how did you install R-

Re: [R-pkg-devel] Trouble installing XML on Windows 7 (64-bit)

2017-12-14 Thread Gábor Csárdi
Those packages were built for R-release. There are no appropriate windows binaries for R-devel on CRAN currently. You need to compile/install the source package: install.packages("XML", type = "source") Gabor On Thu, Dec 14, 2017 at 5:58 PM, Haigh, Rowan wrote: > I maintain a few packages on CR

[R-pkg-devel] Trouble installing XML on Windows 7 (64-bit)

2017-12-14 Thread Haigh, Rowan
I maintain a few packages on CRAN, one of which depends on the XML package. Using the latest R-devel (2017-12-13 r73907), I can install the XML Windows binary from CRAN but I cannot load it: > require(XML) Loading required package: XML Error: package or namespace load failed for 'XML': package 'X

Re: [R-pkg-devel] CRAN check FAIL due to pragmas in headers and code

2017-12-14 Thread Uwe Ligges
On 14.12.2017 00:58, Iñaki Úcar wrote: Hi all, Three days ago, Patrick Perry posted the following on R-devel: 2017-12-11 16:32 GMT+01:00 Patrick Perry : A recent change to r-devel causes an R CMD check warning when a C file includes a "#pragma GCC diagnostic ignored" pragma: https://github.c