* using log directory ‘/Users/ripley/R/packages/tests-devel/modello.Rcheck’ * using R Under development (unstable) (2021-02-12 r79996) * using platform: aarch64-apple-darwin20.2.0 (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘modello/DESCRIPTION’ ... OK * this is package ‘modello’ version ‘0.1.1’ * 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 ‘modello’ can be installed ... [27s/34s] 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 ... ERROR Running examples in ‘modello-Ex.R’ failed The error most likely occurred in: > ### Name: DataLoader.Seq > ### Title: R6 class representign a data loader for sequence datasets. > ### Aliases: DataLoader.Seq > > ### ** Examples > > > ## ------------------------------------------------ > ## Method `DataLoader.Seq$length` > ## ------------------------------------------------ > > ds = DataSet.Seq$new(matrix(rnorm(100), 20), 5, 1) > dl = DataLoader.Seq$new(ds, 5) > ds$length() [1] 15 > dl$length() [1] 3 > > ## ------------------------------------------------ > ## Method `DataLoader.Seq$has.next` > ## ------------------------------------------------ > > ds = DataSet.Seq$new(matrix(rnorm(100), 20), 5, 1) > dl = DataLoader.Seq$new(ds, 5) > ds$has.next() # TRUE [1] TRUE > > ## ------------------------------------------------ > ## Method `DataLoader.Seq$feed` > ## ------------------------------------------------ > > modello.init(100, 100, 100, 100) Error: segfault from C stack overflow Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("modello") Loading required package: modello Loading required package: R6 Loading required package: LaF Loading required package: foreach Loading required package: doParallel Loading required package: iterators Loading required package: parallel Error: segfault from C stack overflow Execution halted * checking PDF version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/Users/ripley/R/packages/tests-devel/modello.Rcheck/00check.log’ for details. 53.70 real 40.72 user 3.86 sys