Re: [R-pkg-devel] CRAN submission error when running tests in testthat

2021-12-05 Thread Ben Engbers
Hi, I submitted the most recent version of my package to CRAN and to Macbuilder reported no problems. Best regards, Ben Op 25-11-2021 om 11:49 schreef Ivan Krylov: On Wed, 24 Nov 2021 16:37:44 + (UTC) Nathan Green via R-package-devel

Re: [R-pkg-devel] CRAN submission error when running tests in testthat

2021-11-25 Thread Kevin Ushey
That shouldn't be happening, at least not by default. However, RcppParallel does ship with tbbmalloc_proxy, which is a library that, when loaded, will overload the default allocators to use TBB's allocators instead. The intention is normally that these libraries would be loaded via e.g. LD_PRELOAD

Re: [R-pkg-devel] CRAN submission error when running tests in testthat

2021-11-25 Thread Simon Urbanek
Nathan, testthat is notorious for obfuscation and unhelpful output as can be clearly seen in the head of testthat.Rout.fail: > library(testthat) > library(BCEA) Attaching package: 'BCEA' The following object is masked from 'package:graphics': contour > > test_check("BCEA") ***

Re: [R-pkg-devel] CRAN submission error when running tests in testthat

2021-11-25 Thread Ivan Krylov
On Thu, 25 Nov 2021 12:33:01 +0100 Gábor Csárdi wrote: > Are you sure about this? I don't think testthat hides any output. R > CMD check on the other hand AFAICT only shows the last 13 lines by > default. See the _R_CHECK_TESTS_NLINES_ environment variable in >

Re: [R-pkg-devel] CRAN submission error when running tests in testthat

2021-11-25 Thread Gábor Csárdi
On Thu, Nov 25, 2021 at 11:49 AM Ivan Krylov wrote: > > On Wed, 24 Nov 2021 16:37:44 + (UTC) > Nathan Green via R-package-devel wrote: > > > An irrecoverable exception occurred. R is aborting now ... > > It seems that some of your dependencies which use compiled code > manage to crash the R

Re: [R-pkg-devel] CRAN submission error when running tests in testthat

2021-11-25 Thread Ivan Krylov
On Wed, 24 Nov 2021 16:37:44 + (UTC) Nathan Green via R-package-devel wrote: > An irrecoverable exception occurred. R is aborting now ... It seems that some of your dependencies which use compiled code manage to crash the R process on CRAN Mac machines. Since testthat normally hides most

[R-pkg-devel] CRAN submission error when running tests in testthat

2021-11-25 Thread Nathan Green via R-package-devel
Hi, I've getting an ERROR when submitting a new release of our package BCEA to CRAN which I'm having problems understanding and reproducing. Its passing CHECK locally and GitHub Actions standard check (https://github.com/n8thangreen/BCEA/actions/runs/1494595896). The message is something to do