Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-15 Thread Paul Hibbing
Thanks for the tips. It appears the error is indeed related to the matchingMarkets package, but specifically an issue with rJava configuration. Now I get the following (see https://artifacts.r-hub.io/PAutilities_1.0.0.tar.gz-54a555386e924de6a53385479a1e199f/PAutilities.Rcheck/00check.log ): VALIDA

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-15 Thread Gábor Csárdi
You don't need to move the files around, though, just use a more verbose testthat reporter, e.g. in testthat.R use test_check("PAutilities", reporter = "summary") and then at least you'll know where it crashes. But to fix this, you'll probably need to debug it locally. You can do that in Docker i

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-15 Thread Ivan Krylov
On Fri, 15 May 2020 03:50:12 -0400 Paul Hibbing wrote: > Complete output: > > library(testthat) > > library(PAutilities) > > > > test_check("PAutilities") It seems to me that the R process crashes while running your tests, but since testthat::test_check captures everything to summarise

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-15 Thread Paul Hibbing
Removing the startup message did not resolve the issue. Now I have just: * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(PAutilities) > > test_check("PAutilities") See https://artifacts.r-hu

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-14 Thread Dirk Eddelbuettel
On 15 May 2020 at 02:30, Gábor Csárdi wrote: | It is unlikely that this is an R-hub issue because the first link is | CRAN's machine, and the same error happens there. My bad, sorry -- I read the original email(s) wrong. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-14 Thread Paul Hibbing
Ah, I hadn't considered that the startup message could be the problem - I thought the point of startup messages was to be distinct from errors and warnings, so I wouldn't have expected that to trip up R CMD Check. I assumed the failure was occurring somewhere inside the actual code for my unit test

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-14 Thread Gábor Csárdi
Apparently, this is not a warning, but the package itself is printing it as a startup message: https://github.com/cran/PAutilities/blob/ada73d8d44177c12867cc385cdca0054885ddae3/R/zzz.R#L5 Gabor On Fri, May 15, 2020 at 2:30 AM Gábor Csárdi wrote: > > It is unlikely that this is an R-hub issue bec

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-14 Thread Gábor Csárdi
It is unlikely that this is an R-hub issue because the first link is CRAN's machine, and the same error happens there. I can reproduce it on macOS: git clone https://github.com/paulhibbing/PAutilities R CMD INSTALL PAutilities R -q -e 'packageDescription("PAutilities")$Built' #> > packageDescrip

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-14 Thread Dirk Eddelbuettel
On 14 May 2020 at 11:41, Paul Hibbing wrote: | * Here is the CRAN check (devel version 2020-05-13): | | https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/PAutilities-00check.html | | * Here is the successful R-hub check (devel version 2020-05-10): | | https://artifacts.

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-14 Thread Paul Hibbing
* Here is the CRAN check (devel version 2020-05-13): https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/PAutilities-00check.html * Here is the successful R-hub check (devel version 2020-05-10): https://artifacts.r-hub.io/PAutilities_1.0.0.tar.gz-43f919fd5595416799d74bfb312fd

[R-pkg-devel] Help Debugging Debian Error

2020-05-14 Thread Paul Hibbing
Hi all, At some point (I believe within the last week or so), my package `PAutilities` has developed the following error for r-devel-linux-x86_64-debian-gcc: * checking tests ... [3s/3s] ERROR Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > libr