Re: [R-pkg-devel] Loading Libraries Outside of .lib.loc

2017-06-28 Thread Uwe Ligges
Just set .libPaths("/tmp/current") and then library(devtools) shoudl do the trick. Best, Uwe Ligges On 28.06.2017 22:23, Bill Denney wrote: Hi, I'm working on a script to test my library (PKNCA) for what the minimum required version of its dependencies are. Specifically, I've received bug

[R-pkg-devel] Loading Libraries Outside of .lib.loc

2017-06-28 Thread Bill Denney
Hi, I'm working on a script to test my library (PKNCA) for what the minimum required version of its dependencies are. Specifically, I've received bug reports when people are using versions of dplyr < 0.5.0. To test my package against old versions of libraries, I'm installing old versions of

Re: [R-pkg-devel] best approach to getting an external library to *not* use stdout, stderr, etc.

2017-06-28 Thread Iñaki Úcar
2017-06-28 18:34 GMT+02:00 Simon Barthelmé : > Hi Iñaki > > Thanks for the suggestion. I'm not sure how to make it work, though, if you > call freopen on stderr, R CMD check will still detect a call to stderr and > trigger a warning. Have you yourself used it? Not in an R package. Anyways, you can

Re: [R-pkg-devel] best approach to getting an external library to *not* use stdout, stderr, etc.

2017-06-28 Thread Simon Barthelmé
Hi Iñaki Thanks for the suggestion. I'm not sure how to make it work, though, if you call freopen on stderr, R CMD check will still detect a call to stderr and trigger a warning. Have you yourself used it? Best Simon On 28/06/2017 17:13, Iñaki Úcar wrote: 2017-06-28 16:29 GMT+02:00 Simon B

Re: [R-pkg-devel] best approach to getting an external library to *not* use stdout, stderr, etc.

2017-06-28 Thread Iñaki Úcar
2017-06-28 16:29 GMT+02:00 Simon Barthelmé : > Dear list, > > I'm trying to wrap an external C++ library that has the bad habit of > printing errors to std::cerr, a behaviour which will lead to CRAN issuing > warnings. I was wondering if people had come up with a solution to this > problem that's b

[R-pkg-devel] best approach to getting an external library to *not* use stdout, stderr, etc.

2017-06-28 Thread Simon Barthelmé
Dear list, I'm trying to wrap an external C++ library that has the bad habit of printing errors to std::cerr, a behaviour which will lead to CRAN issuing warnings. I was wondering if people had come up with a solution to this problem that's better than patching everything by hand? Thanks Si

Re: [R-pkg-devel] Doubt about adding files to a R package

2017-06-28 Thread Duncan Murdoch
On 26/06/2017 2:20 PM, Darío Torres Sánchez wrote: Good day, I have a problem I will like to ask for some help, My package needs some .csv files to run, but when i attached them to the .tar file to submit to the CRAN and after the test it marks an error so my doubt is how can I attached this fi

Re: [R-pkg-devel] Doubt about adding files to a R package

2017-06-28 Thread Thierry Onkelinx
Dear Dario, The attachments got stripped from the mail by the server. Can you provide a link to the results of R CMD check and the source code of the package? Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwa

[R-pkg-devel] Doubt about adding files to a R package

2017-06-28 Thread Darío Torres Sánchez
Good day, I have a problem I will like to ask for some help, My package needs some .csv files to run, but when i attached them to the .tar file to submit to the CRAN and after the test it marks an error so my doubt is how can I attached this files and when i submit it they not mark error?. Than