* using log directory ‘/Users/ripley/R/packages/tests-devel/FlywayNet.Rcheck’ * using R Under development (unstable) (2022-03-21 r81953) * using platform: aarch64-apple-darwin21.4.0 (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘FlywayNet/DESCRIPTION’ ... OK * this is package ‘FlywayNet’ version ‘0.1.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 ‘FlywayNet’ can be installed ... [15s/15s] OK * checking installed package size ... OK * 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 ... 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 pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘FlywayNet-Ex.R’ failed The error most likely occurred in: > ### Name: estimate_migration_ABC > ### Title: Estimates migration parameters using an ABC method. > ### Aliases: estimate_migration_ABC > > ### ** Examples > > migr <- generate_toy_migration() > # Argument nb_simul just provide to reduce running time > estimated_migr <- estimate_migration_ABC( migr, nb_simul = 30 ) [1] " ------ Lenormand et al. (2012)'s algorithm ------" Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), : 'data' must be of a vector type, was 'NULL' Calls: estimate_migration_ABC ... as.matrix -> as.matrix -> as.matrix.default -> array Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building ‘introduction.Rmd’ using rmarkdown Quitting from lines 69-75 (introduction.Rmd) Error: processing vignette 'introduction.Rmd' failed with diagnostics: 'data' must be of a vector type, was 'NULL' --- failed re-building ‘introduction.Rmd’ SUMMARY: processing the following file failed: ‘introduction.Rmd’ Error: Vignette re-building failed. 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/FlywayNet.Rcheck/00check.log’ for details. 32.09 real 27.22 user 3.92 sys