Re: [Rd] documentation of asplit

2021-11-25 Thread Kurt Hornik
> SOEIRO Thomas writes: > Dear list, > The documentation of `asplit` currently says (section Details): "apply > *always* simplifies common length results, so attempting to split via > apply(x, MARGIN, identity) does not work (as it simply gives x)." > This may be updated (e.g., by simply

[R-pkg-devel] rstan issue [Was: CRAN submission error when running tests in testthat]

2021-11-25 Thread Simon Urbanek
Kevin, thanks, that's very helpful! So this is a serious bug in rstan - apparently they only do that on macOS which explains why other platforms don't see it: .onLoad <- function(libname, pkgname) { [...] ## the tbbmalloc_proxy is not loaded by RcppParallel which is linked ## in by

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