* using log directory 'd:/Rcompile/CRANpkg/local/4.6/fireexposuR.Rcheck' * using R Under development (unstable) (2025-12-23 r89222 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'fireexposuR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fireexposuR' version '1.2.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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'fireexposuR' can be installed ... 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [4s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [33s] ERROR Running examples in 'fireexposuR-Ex.R' failed The error most likely occurred in: > ### Name: fire_exp_extract_map > ### Title: Visualize exposure to values in a map > ### Aliases: fire_exp_extract_map > > ### ** Examples > > # read example hazard data > hazard_file_path <- "extdata/hazard.tif" > hazard <- terra::rast(system.file(hazard_file_path, package = "fireexposuR")) > > # read example area of interest > polygon_path <- system.file("extdata", "polygon.shp", package ="fireexposuR") > aoi <- terra::vect(polygon_path) > > # generate random points within the aoi polygon > points <- terra::spatSample(aoi, 20) > > # compute exposure > exposure <- fire_exp(hazard) > > values_exp <- fire_exp_extract(exposure, points) > > # visualize example points in standardized map > fire_exp_extract_map(values_exp) Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [63s] OK Running 'testthat.R' [63s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [18s] ERROR Error(s) in re-building vignettes: --- re-building 'fireexposuR.Rmd' using rmarkdown Quitting from fireexposuR.Rmd:133-138 [example1c] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `[.data.table`: ! attempt access index 4/4 in VECTOR_ELT --- Backtrace: ▆ 1. ├─base::withVisible(knit_print(x, ...)) 2. ├─knitr::knit_print(x, ...) 3. └─tmap:::knit_print.tmap(x, ...) 4. └─tmap:::print.tmap(x, knit = TRUE, options = options, ...) 5. └─tmap:::step4_plot(...) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'fireexposuR.Rmd' failed with diagnostics: attempt access index 4/4 in VECTOR_ELT --- failed re-building 'fireexposuR.Rmd' --- re-building 'prep-input-data.Rmd' using rmarkdown --- finished re-building 'prep-input-data.Rmd' --- re-building 'prometheus.Rmd' using rmarkdown --- finished re-building 'prometheus.Rmd' --- re-building 'resources.Rmd' using rmarkdown --- finished re-building 'resources.Rmd' SUMMARY: processing the following file failed: 'fireexposuR.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 2 ERRORs