Re: [R-pkg-devel] bayespca package - CRAN test

2019-06-05 Thread Facundo Muñoz
If you have access to a linux box (or cygwin), there is this tool [1] that lets you do something like find . -name inst/include/*.h | xargs dos2unix to fix all the line breaks in one shot. There are also binaries for Windows so you should be able to do this from your computer. Best,     ƒacu.-

Re: [R-pkg-devel] mvrnorm, eigen, tests, and R CMD check

2018-05-18 Thread Facundo Muñoz
In my opinion, the underlying problem is that you are checking whether the test reproduces exactly your pre-computed solution, while there actually exist other valid answers. I believe you want to check whether the sub-spaces are the same, not whether the bases are identical (which can depend on p

Re: [R-pkg-devel] R force download of specific package versions in DESCRIPTION file

2017-05-22 Thread Facundo Muñoz
I think Packrat [1] might help: - Isolated: ... each project its own private package library. - Reproducible: ... exact versions are the ones that get installed ... ƒacu.- [1] https://rstudio.github.io/packrat/ On 05/18/2017 04:34 PM, Martin Watts wrote: > I have created a package (which I hos

[R-pkg-devel] coercion in R CMD check

2015-12-02 Thread Facundo Muñoz
I have been struggling all day with this issue, which was terribly difficult to identify. In the end, if I have a test in my package such as: test_that("coercions works... depending the check", { s = "/A/string/starting/with/a/slash" expect_true(s > 0) }) then if I test() it, it goes fine.

[R-pkg-devel] Fwd: src/install.libs.R

2015-10-16 Thread Facundo Muñoz
I relaunch this question for which I had no answers. Just in case someone who can give some insight missed it before. Thanks in advance ƒacu.- Mensaje reenviado Asunto: src/install.libs.R Fecha: Tue, 6 Oct 2015 11:41:23 +0200 De: Facundo Muñoz Para: r

[R-pkg-devel] src/install.libs.R

2015-10-06 Thread Facundo Muñoz
Dear all, I need to make use of the |src/install.libs.R| file, in order to perform certain tasks at installation time. I followed the R-exts doc . However, R CMD INSTALL seems to never run the script. Here is a m

[R-pkg-devel] extending a few functions from another package

2015-08-28 Thread Facundo Muñoz
Dear list, I have built a package geoRcb (https://github.com/famuvie/geoRcb) which is an extension of package geoR. It provides some very specific additional functionality, in the form of new arguments for only 3 functions from geoR. It also has some original complementary functions, but otherwise