R Under development (unstable) (2024-05-14 r86553 ucrt) -- "Unsuffered Consequences" 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. Ran 5/5 deferred expressions Ran 5/5 deferred expressions |---------|---------|---------|---------| ========================================= |---------|---------|---------|---------| ========================================= Ran 5/5 deferred expressions |---------|---------|---------|---------| ========================================= Ran 5/5 deferred expressions Ran 5/5 deferred expressions Ran 5/5 deferred expressions Ran 6/6 deferred expressions 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 4 | PASS 2246 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • 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:839:3' [ FAIL 0 | WARN 0 | SKIP 4 | PASS 2246 ] > > data.table::setDTthreads(origDTthreads) > > proc.time() user system elapsed 103.62 4.57 108.18