CRAN Package Check Results for Package forestecology

Last updated on 2026-08-22 17:50:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 12.81 138.41 151.22 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 10.01 91.18 101.19 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.2 11.00 90.72 101.72 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.2 11.00 97.87 108.87 ERROR
r-devel-windows-x86_64 0.2.1 18.00 155.00 173.00 OK
r-patched-linux-x86_64 0.2.1 14.20 117.51 131.71 OK
r-release-linux-x86_64 0.2.1 12.92 118.59 131.51 OK
r-release-macos-arm64 0.2.2 3.00 38.00 41.00 OK
r-release-macos-x86_64 0.2.2 9.00 150.00 159.00 OK
r-release-windows-x86_64 0.2.1 15.00 128.00 143.00 OK
r-oldrel-macos-arm64 0.2.2 OK
r-oldrel-macos-x86_64 0.2.2 10.00 233.00 243.00 OK
r-oldrel-windows-x86_64 0.2.2 24.00 152.00 176.00 ERROR

Check Details

Version: 0.2.2
Check: examples
Result: ERROR Running examples in ‘forestecology-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: growth_ex > ### Title: Example growth data frame for small example > ### Aliases: growth_ex > ### Keywords: datasets > > ### ** Examples > > library(ggplot2) > library(dplyr) Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > library(sf) Linking to GEOS 3.14.1, GDAL 3.13.2, PROJ 9.8.1; sf_use_s2() is TRUE > library(sfheaders) > library(blockCV) blockCV 4.0.0 > > growth_ex %>% + ggplot() + + geom_sf() > > growth_ex %>% + group_by(sp) %>% + summarize(mean(growth)) Simple feature collection with 2 features and 2 fields Geometry type: MULTIPOINT Dimension: XY Bounding box: xmin: 0.75 ymin: 0.75 xmax: 8.75 ymax: 4.5 CRS: NA # A tibble: 2 × 3 sp `mean(growth)` geometry <fct> <dbl> <MULTIPOINT> 1 american_beech NA ((1.5 2.5), (3 1.5), (5.5 4.5), (8.5 0.75), (8.… 2 sugar_maple 0.920 ((0.75 2.5), (1.75 2.25), (3.25 1.75), (8 1.5),… > > # Add buffer > growth_spatial_ex <- growth_ex %>% + add_buffer_variable(direction = "in", size = 1, region = study_region_ex) > > # Add cross-validation folds > fold1 <- rbind(c(0, 0), c(5, 0), c(5, 5), c(0, 5), c(0, 0)) > fold2 <- rbind(c(5, 0), c(10, 0), c(10, 5), c(5, 5), c(5, 0)) > blocks <- bind_rows( + sf_polygon(fold1), + sf_polygon(fold2) + ) %>% + mutate(foldID = c(1, 2)) > > SpatialBlock_ex <- spatialBlock( + speciesData = growth_ex, + verbose = FALSE, + k = 2, + selection = "systematic", + blocks = blocks + ) Error in spatialBlock(speciesData = growth_ex, verbose = FALSE, k = 2, : could not find function "spatialBlock" Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(forestecology) > > test_check("forestecology") Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union blockCV 4.0.0 Saving _problems/test-readme-45.R [ FAIL 1 | WARN 2 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-readme.R:42:3'): readme code works ───────────────────────────── <functionNotFoundError/objectNotFoundError/error/condition> Error in `spatialBlock(speciesData = growth_ex, k = 2, selection = "systematic", blocks = blocks_ex, showBlocks = FALSE, verbose = FALSE)`: could not find function "spatialBlock" [ FAIL 1 | WARN 2 | SKIP 0 | PASS 11 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘forestecology.Rmd’ using rmarkdown Quitting from forestecology.Rmd:130-138 [unnamed-chunk-8] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! 'spatialBlock' is not an exported object from 'namespace:blockCV' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'forestecology.Rmd' failed with diagnostics: 'spatialBlock' is not an exported object from 'namespace:blockCV' --- failed re-building ‘forestecology.Rmd’ SUMMARY: processing the following file failed: ‘forestecology.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.2
Check: examples
Result: ERROR Running examples in ‘forestecology-Ex.R’ failed The error most likely occurred in: > ### Name: growth_ex > ### Title: Example growth data frame for small example > ### Aliases: growth_ex > ### Keywords: datasets > > ### ** Examples > > library(ggplot2) > library(dplyr) Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > library(sf) Linking to GEOS 3.14.1, GDAL 3.12.4, PROJ 9.8.1; sf_use_s2() is TRUE > library(sfheaders) > library(blockCV) blockCV 4.0.0 > > growth_ex %>% + ggplot() + + geom_sf() > > growth_ex %>% + group_by(sp) %>% + summarize(mean(growth)) Simple feature collection with 2 features and 2 fields Geometry type: MULTIPOINT Dimension: XY Bounding box: xmin: 0.75 ymin: 0.75 xmax: 8.75 ymax: 4.5 CRS: NA # A tibble: 2 × 3 sp `mean(growth)` geometry <fct> <dbl> <MULTIPOINT> 1 american_beech NA ((1.5 2.5), (3 1.5), (5.5 4.5), (8.5 0.75), (8.… 2 sugar_maple 0.920 ((0.75 2.5), (1.75 2.25), (3.25 1.75), (8 1.5),… > > # Add buffer > growth_spatial_ex <- growth_ex %>% + add_buffer_variable(direction = "in", size = 1, region = study_region_ex) > > # Add cross-validation folds > fold1 <- rbind(c(0, 0), c(5, 0), c(5, 5), c(0, 5), c(0, 0)) > fold2 <- rbind(c(5, 0), c(10, 0), c(10, 5), c(5, 5), c(5, 0)) > blocks <- bind_rows( + sf_polygon(fold1), + sf_polygon(fold2) + ) %>% + mutate(foldID = c(1, 2)) > > SpatialBlock_ex <- spatialBlock( + speciesData = growth_ex, + verbose = FALSE, + k = 2, + selection = "systematic", + blocks = blocks + ) Error in spatialBlock(speciesData = growth_ex, verbose = FALSE, k = 2, : could not find function "spatialBlock" Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(forestecology) > > test_check("forestecology") Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union blockCV 4.0.0 Saving _problems/test-readme-45.R [ FAIL 1 | WARN 2 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-readme.R:42:3'): readme code works ───────────────────────────── <functionNotFoundError/objectNotFoundError/error/condition> Error in `spatialBlock(speciesData = growth_ex, k = 2, selection = "systematic", blocks = blocks_ex, showBlocks = FALSE, verbose = FALSE)`: could not find function "spatialBlock" [ FAIL 1 | WARN 2 | SKIP 0 | PASS 11 ] Error: ! Test failures. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘forestecology.Rmd’ using rmarkdown Quitting from forestecology.Rmd:130-138 [unnamed-chunk-8] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! 'spatialBlock' is not an exported object from 'namespace:blockCV' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'forestecology.Rmd' failed with diagnostics: 'spatialBlock' is not an exported object from 'namespace:blockCV' --- failed re-building ‘forestecology.Rmd’ SUMMARY: processing the following file failed: ‘forestecology.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64

Version: 0.2.2
Check: examples
Result: ERROR Running examples in 'forestecology-Ex.R' failed The error most likely occurred in: > ### Name: growth_ex > ### Title: Example growth data frame for small example > ### Aliases: growth_ex > ### Keywords: datasets > > ### ** Examples > > library(ggplot2) > library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(sf) Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE > library(sfheaders) > library(blockCV) blockCV 4.0.0 > > growth_ex %>% + ggplot() + + geom_sf() > > growth_ex %>% + group_by(sp) %>% + summarize(mean(growth)) Simple feature collection with 2 features and 2 fields Geometry type: MULTIPOINT Dimension: XY Bounding box: xmin: 0.75 ymin: 0.75 xmax: 8.75 ymax: 4.5 CRS: NA # A tibble: 2 × 3 sp `mean(growth)` geometry <fct> <dbl> <MULTIPOINT> 1 american_beech NA ((1.5 2.5), (3 1.5), (5.5 4.5), (8.5 0.75), (8.… 2 sugar_maple 0.920 ((0.75 2.5), (1.75 2.25), (3.25 1.75), (8 1.5),… > > # Add buffer > growth_spatial_ex <- growth_ex %>% + add_buffer_variable(direction = "in", size = 1, region = study_region_ex) > > # Add cross-validation folds > fold1 <- rbind(c(0, 0), c(5, 0), c(5, 5), c(0, 5), c(0, 0)) > fold2 <- rbind(c(5, 0), c(10, 0), c(10, 5), c(5, 5), c(5, 0)) > blocks <- bind_rows( + sf_polygon(fold1), + sf_polygon(fold2) + ) %>% + mutate(foldID = c(1, 2)) > > SpatialBlock_ex <- spatialBlock( + speciesData = growth_ex, + verbose = FALSE, + k = 2, + selection = "systematic", + blocks = blocks + ) Error in spatialBlock(speciesData = growth_ex, verbose = FALSE, k = 2, : could not find function "spatialBlock" Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.2.2
Check: tests
Result: ERROR Running 'testthat.R' [5s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(forestecology) > > test_check("forestecology") Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union blockCV 4.0.0 Saving _problems/test-readme-45.R [ FAIL 1 | WARN 2 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-readme.R:42:3'): readme code works ───────────────────────────── Error in `spatialBlock(speciesData = growth_ex, k = 2, selection = "systematic", blocks = blocks_ex, showBlocks = FALSE, verbose = FALSE)`: could not find function "spatialBlock" [ FAIL 1 | WARN 2 | SKIP 0 | PASS 11 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64