* using log directory ‘/Users/ripley/R/packages/tests-devel/poems.Rcheck’ * using R Under development (unstable) (2023-12-19 r85705) * using platform: aarch64-apple-darwin23.2.0 * R was compiled by Apple clang version 15.0.0 (clang-1500.1.0.2.5) GNU Fortran (GCC) 12.2.0 * running under: macOS Sonoma 14.2 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘poems/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘poems’ version ‘1.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 ‘poems’ can be installed ... [14s/14s] 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 ... [11s/11s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [16s/16s] [16s/16s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(poems) > > test_check("poems") [ FAIL 12 | WARN 1 | SKIP 0 | PASS 1049 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_dispersal_friction.R:90:3'): distance multiplier calculations ── distance_multipliers[[1]] not equal to rep(1, nrow(dispersal_indices)). 12/220 mismatches (average diff: NaN) [1] NaN - 1 == NaN [14] NaN - 1 == NaN [30] NaN - 1 == NaN [46] NaN - 1 == NaN [58] NaN - 1 == NaN [73] NaN - 1 == NaN [90] NaN - 1 == NaN [106] NaN - 1 == NaN [119] NaN - 1 == NaN ... ── Failure ('test_dispersal_friction.R:95:3'): distance multiplier calculations ── distance_multipliers[[2]][other_indices] not equal to rep(Inf, length(other_indices)). 1/9 mismatches [1] NaN - Inf == NaN ── Failure ('test_dispersal_friction.R:129:3'): distance multiplier calculations ── distance_multipliers2[[2]][other_indices] not equal to rep(Inf, length(other_indices)). 1/9 mismatches [1] NaN - Inf == NaN ── Failure ('test_dispersal_friction.R:153:3'): distance multiplier calculations ── all(...) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test_dispersal_friction.R:154:3'): distance multiplier calculations ── all(...) is not TRUE `actual`: `expected`: TRUE ── Failure ('test_dispersal_generator.R:82:3'): calculate distance data ──────── `dispersal_gen$calculate_distance_data(...)` did not throw an error. ── Failure ('test_dispersal_generator.R:88:3'): calculate distance data ──────── ...[] not equal to `distance_data`. Component "distance_class": 'is.NA' value mismatch: 12 in current 0 in target ── Failure ('test_dispersal_generator.R:91:3'): calculate distance data ──────── all(...) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test_dispersal_generator.R:299:3'): calculate dispersals with dispersal friction ── dispersal_gen$dispersal_data[[1]]$dispersal_rate not equal to expected_dispersal_data$dispersal_rate. Lengths differ: 94 is not 102 ── Failure ('test_dispersal_generator.R:313:3'): cloning and generation ──────── dim(dispersal_clone$dispersal_data[[1]]) not equal to c(164, 5). 1/2 mismatches [1] 176 - 164 == 12 ── Failure ('test_dispersal_generator.R:329:3'): cloning and generation ──────── dim(dispersal_clone$dispersal_data[[1]]) not equal to c(228, 5). 1/2 mismatches [1] 240 - 228 == 12 ── Failure ('test_population_dispersal_function.R:600:3'): density dependent dispersal ── dispersal_function(...) not equal to `expected_stage_abundance`. 2/21 mismatches (average diff: 5) [2] 8 - 3 == 5 [8] 11 - 16 == -5 [ FAIL 12 | WARN 1 | SKIP 0 | PASS 1049 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [56s/53s] OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/poems.Rcheck/00check.log’ for details. 160.81 real 151.62 user 11.71 sys