* using log directory ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/spsurv.Rcheck’ * using R version 4.3.0 RC (2023-04-13 r84266) * using platform: x86_64-apple-darwin20 (64-bit) * R was compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.3 * using session charset: UTF-8 * checking for file ‘spsurv/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘spsurv’ version ‘1.0.0’ * package encoding: UTF-8 * 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 ‘spsurv’ can be installed ... [133s/122s] OK See 'https://www.r-project.org/nosvn/R.check/r-oldrel-macos-x86_64/spsurv-00install.html' for details. * used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used SDK: ‘MacOSX11.3.sdk’ * checking C++ specification ... OK Not all R platforms support C++17 * checking installed package size ... NOTE installed size is 50.2Mb sub-directories of 1Mb or more: doc 1.5Mb libs 48.3Mb * checking package directory ... OK * checking ‘build’ 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 ... [3s/4s] OK * checking whether the package can be loaded with stated dependencies ... [3s/3s] OK * checking whether the package can be unloaded cleanly ... [2s/3s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK * checking whether the namespace can be unloaded cleanly ... [2s/3s] OK * checking loading without being on the library search path ... [3s/3s] 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 ... [7s/10s] OK * checking Rd files ... [0s/0s] 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 LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking line endings in shell scripts ... 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 ... NOTE GNU make is a SystemRequirements. * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [3s/4s] ERROR Running examples in ‘spsurv-Ex.R’ failed The error most likely occurred in: > ### Name: bppo > ### Title: Bernstein Polynomial Based Proportional Odds Model > ### Aliases: bppo > > ### ** Examples > > > library("spsurv") > data("veteran") Warning in data("veteran") : data set ‘veteran’ not found > > fit <- bppo(Surv(time, status) ~ karno + celltype, + data = veteran) Error in optimHess(theta, fn, gr, control = list(fnscale = -1)) : non-finite value supplied by optim Calls: bppo ... spbp.mle -> -> -> .local -> optimHess Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [17s/31s] ERROR Running ‘testthat.R’ [17s/31s] Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: ── Error ('test.R:33:1'): (code run outside of `test_that()`) ────────────────── Error in `optimHess(theta, fn, gr, control = list(fnscale = -1))`: non-finite value supplied by optim Backtrace: ▆ 1. └─spsurv::bppo(Surv(time, status) ~ karno + factor(celltype), data = veteran) at test.R:33:0 2. └─spsurv:::spbp.default(...) 3. └─spsurv:::spbp.mle(standata = standata, ...) 4. ├─rstan::optimizing(...) 5. └─rstan::optimizing(...) 6. └─rstan (local) .local(object, ...) 7. └─stats::optimHess(theta, fn, gr, control = list(fnscale = -1)) [ FAIL 1 | WARN 7 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking running R code from vignettes ... [0s/0s] NONE ‘spsurv.Rmd’ using ‘UTF-8’... [0s/0s] OK * checking re-building of vignette outputs ... [24s/33s] OK * checking PDF version of manual ... [6s/8s] OK * DONE Status: 2 ERRORs, 3 NOTEs * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 4:39