R version 4.4.0 beta (2024-04-14 r86421 ucrt) -- "Puppy Cup" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > Sys.setenv("OMP_THREAD_LIMIT" = 2) > origDTthreads <- data.table::setDTthreads(2L) > > library(testthat) > library(SpaDES.tools) > > test_check("SpaDES.tools") Assuming matrix is in latitude/longitude The CRS provided is not in meters; converting internally to UTM so area will be approximately correct. |---------|---------|---------|---------| ========================================= |---------|---------|---------|---------| ========================================= |---------|---------|---------|---------| ========================================= duplicate initial loci are provided duplicate initial loci are provided 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Scales with number of starts, not maxSize of raster exactSize provided. It does not match with size attr(start, 'spreadState')$maxSize. Using the new exactSize provided. Perhaps sorted differently?Try sorting initial call to spread2 so that pixel number of start cells is strictly increasing 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Scales with number of starts, not maxSize of raster exactSize provided. It does not match with size attr(start, 'spreadState')$maxSize. Using the new exactSize provided. Perhaps sorted differently?Try sorting initial call to spread2 so that pixel number of start cells is strictly increasing [ FAIL 0 | WARN 0 | SKIP 5 | PASS 2236 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • NLMR cannot be loaded (1): 'test-neutralLandscapeMap.R:2:3' • On CRAN (3): 'test-splitRaster.R:227:3', 'test-splitRaster.R:288:3', 'test-spread.R:841:3' • empty test (1): 'test-examples.R:1:1' [ FAIL 0 | WARN 0 | SKIP 5 | PASS 2236 ] > > data.table::setDTthreads(origDTthreads) > > proc.time() user system elapsed 88.23 4.78 93.04