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
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
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
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
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
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
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
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
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.
* 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
10 matches
Mail list logo