* using log directory ‘/Users/ripley/R/packages/tests-devel/bnpmr.Rcheck’ * using R Under development (unstable) (2021-11-09 r81170) * using platform: aarch64-apple-darwin21.1.0 (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘bnpmr/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘bnpmr’ version ‘1.2’ * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘bnpmr’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ...sh: line 1: 90970 Abort trap: 6 LANGUAGE=en _R_CHECK_INTERNALS2_=1 '/Users/ripley/R/R-devel/bin/R' --vanilla > 'bnpmr-Ex.Rout' 2>&1 < 'bnpmr-Ex.R' ERROR Running examples in ‘bnpmr-Ex.R’ failed The error most likely occurred in: > ### Name: bnpmr > ### Title: Monotonic regression > ### Aliases: bnpmr > ### Keywords: models > > ### ** Examples > > ######################################################################## > ## example 1 > ## generate some example data > x <- seq(0,1,length=100) > y <- 2+3*x/(0.05+x)+rnorm(100, 0, 1) > ## run bnpmr function (with "default" parameters and priors) > res <- bnpmr(y, x) > sq <- seq(0,1,length=101) > aa <- pred.bnpmr(sq, res) > out005 <- apply(aa, 2, quantile, prob = 0.05) > out050 <- apply(aa, 2, median) > out095 <- apply(aa, 2, quantile, prob = 0.95) > ## plot result > plot(x,y) > lines(sq, out005) > lines(sq, out050) > lines(sq, out095) > curve(2+3*x/(x+0.05), add=TRUE, col=2) > > ######################################################################## > ## example 2 with a sparse dose-design > ## closer to what we actually see in pharmaceutical dose-finding trials > x <- rep(c(0,0.05,0.2,0.6,1), each = 10) > y <- 2+3*x^5/(0.05^5+x^5)+rnorm(length(x), 0, 1) > > res <- bnpmr(y, x) * checking PDF version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/bnpmr.Rcheck/00check.log’ for details. 13.28 real 9.43 user 2.87 sys