Package: bcRP Check: examples New result: ERROR Running examples in ‘bcRP-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_bcrp_data > ### Title: Perform an API request to BCRPData > ### Aliases: get_bcrp_data > > ### ** Examples > > codes <- c("PN00009MM", "PN00002MM", "PN01270PM", "PD39557DA") > # Will get you the most recent data for these codes > # as you have not provided the `from` and `to` arguments. > get_bcrp_data(codes = codes) iterating ■■■■■■■■■ 25% | ETA: 6s iterating ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100% | ETA: 0s Error in perform_req_strategy(requests = list_of_requests, strategy = request_strategy) : Error(s) at: PN00009MM PN00002MM PN01270PM PD39557DA Calls: get_bcrp_data -> perform_req_strategy Execution halted Package: CAST Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘cast01-CAST-intro.Rmd’ using rmarkdown CAST package:CAST R Documentation '_c_a_r_e_t' _A_p_p_l_i_c_a_t_i_o_n_s _f_o_r _S_p_a_t_i_a_l-_T_e_m_p_o_r_a_l _M_o_d_e_l_s _D_e_s_c_r_i_p_t_i_o_n: Supporting functionality to run 'caret' with spatial or spatial-temporal data. 'caret' is a frequently used package for model training and prediction using machine learning. CAST includes functions to improve spatial-temporal modelling tasks using 'caret'. It includes the newly suggested 'Nearest neighbor distance matching' cross-validation to estimate the performance of spatial prediction models and allows for spatial variable selection to selects suitable predictor variables in view to their contribution to the spatial model performance. CAST further includes functionality to estimate the (spatial) area of applicability of prediction models by analysing the similarity between new data and training data. Methods are described in Meyer et al. (2018); Meyer et al. (2019); Meyer and Pebesma (2021); Milà et al. (2022); Meyer and Pebesma (2022); Linnenbrink et al. (2023). The package is described in detail in Meyer et al. (2024). _D_e_t_a_i_l_s: 'caret' Applications for Spatio-Temporal models _A_u_t_h_o_r(_s): Hanna Meyer, Carles Milà, Marvin Ludwig, Jan Linnenbrink, Fabian Schumacher _R_e_f_e_r_e_n_c_e_s: • Meyer, H., Ludwig, L., Milà, C., Linnenbrink, J., Schumacher, F. (2024): The CAST package for training and assessment of spatial prediction models in R. arXiv, https://doi.org/10.48550/arXiv.2404.06978. • Linnenbrink, J., Milà, C., Ludwig, M., and Meyer, H.: kNNDM: k-fold Nearest Neighbour Distance Matching Cross-Validation for map accuracy estimation, EGUsphere [preprint], https://doi.org/10.5194/egusphere-2023-1308, 2023. • Milà, C., Mateu, J., Pebesma, E., Meyer, H. (2022): Nearest Neighbour Distance Matching Leave-One-Out Cross-Validation for map validation. Methods in Ecology and Evolution 00, 1– 13. • Meyer, H., Pebesma, E. (2022): Machine learning-based global maps of ecological variables and the challenge of assessing them. Nature Communications. 13. • Meyer, H., Pebesma, E. (2021): Predicting into unknown space? Estimating the area of applicability of spatial prediction models. Methods in Ecology and Evolution. 12, 1620– 1633. • Meyer, H., Reudenbach, C., Wöllauer, S., Nauss, T. (2019): Importance of spatial predictor variable selection in machine learning applications - Moving from data reproduction to spatial prediction. Ecological Modelling. 411, 108815. • Meyer, H., Reudenbach, C., Hengl, T., Katurji, M., Nauß, T. (2018): Improving performance of spatio-temporal machine learning models using forward feature selection and target-oriented validation. Environmental Modelling & Software 101: 1-9. _S_e_e _A_l_s_o: Useful links: • • Report bugs at trying URL 'https://geodata.ucdavis.edu/climate/worldclim/2_1/base/wc2.1_10m_bio.zip' Content type 'application/zip' length 49869449 bytes (47.6 MB) ================================================== downloaded 47.6 MB trying URL 'https://geodata.ucdavis.edu/climate/worldclim/2_1/base/wc2.1_10m_elev.zip' Content type 'application/zip' length 1332437 bytes (1.3 MB) ================================================== downloaded 1.3 MB [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘cast01-CAST-intro.Rmd’ --- re-building ‘cast02-plotgeodist.Rmd’ using rmarkdown trying URL 'https://geodata.ucdavis.edu/climate/worldclim/2_1/base/wc2.1_10m_bio.zip' Content type 'application/zip' length 49869449 bytes (47.6 MB) ================================================== downloaded 47.6 MB [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘cast02-plotgeodist.Rmd’ --- re-building ‘cast03-CV.Rmd’ using rmarkdown Quitting from cast03-CV.Rmd:38-64 [read data] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! Cannot open "https://github.com/carlesmila/RF-spatial-proxies/raw/main/data/temp/temp_train.gpkg"; The file doesn't seem to exist. --- Backtrace: ▆ 1. └─sf::read_sf("https://github.com/carlesmila/RF-spatial-proxies/raw/main/data/temp/temp_train.gpkg") 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::CPL_read_ogr(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'cast03-CV.Rmd' failed with diagnostics: Cannot open "https://github.com/carlesmila/RF-spatial-proxies/raw/main/data/temp/temp_train.gpkg"; The file doesn't seem to exist. --- failed re-building ‘cast03-CV.Rmd’ --- re-building ‘cast04-AOA-tutorial.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘cast04-AOA-tutorial.Rmd’ --- re-building ‘cast05-parallel.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘cast05-parallel.Rmd’ SUMMARY: processing the following file failed: ‘cast03-CV.Rmd’ Error: Vignette re-building failed. Execution halted Package: CrossClustering [Old version: 4.1.3, New version: 4.1.2] Check: tests New result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [4s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(CrossClustering) > > test_check("CrossClustering") Saving _problems/test-cc_crossclustering-118.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 81 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cc_crossclustering.R:118:3'): correct output class ───────────── Error in `target != current`: comparison of these types is not implemented Backtrace: ▆ 1. └─testthat::expect_equal(current, expected) at test-cc_crossclustering.R:118:3 2. ├─testthat::compare(act$val, exp$val, ...) 3. └─testthat:::compare.default(act$val, exp$val, ...) 4. ├─base::all.equal(x, y, ...) 5. └─base::all.equal.default(x, y, ...) 6. └─base::all.equal.list(target, current, ...) 7. └─base::attr.all.equal(target, current, ...) 8. ├─base::all.equal(ax, ay, ..., check.attributes = check.attributes) 9. └─base::all.equal.list(ax, ay, ..., check.attributes = check.attributes) 10. ├─base::all.equal(...) 11. └─base::all.equal.list(...) 12. ├─base::all.equal(...) 13. └─base::all.equal.default(...) 14. └─base::all.equal.numeric(...) 15. └─base::attr.all.equal(...) 16. └─base::all.equal.character(nx, ny, check.attributes = check.attributes) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 81 ] Error: ! Test failures. Execution halted Package: lwgeom Check: tests New result: NOTE Running ‘azimuth.R’ [1s/1s] Comparing ‘azimuth.Rout’ to ‘azimuth.Rout.save’ ...5,7d4 < Warning message: < In fun(libname, pkgname) : < PROJ versions differ: lwgeom has 9.7.1 sf has 9.7.0 Running ‘dist.R’ [1s/1s] Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK Running ‘geod.R’ [1s/1s] Comparing ‘geod.Rout’ to ‘geod.Rout.save’ ...12,14d11 < Warning message: < In fun(libname, pkgname) : < PROJ versions differ: lwgeom has 9.7.1 sf has 9.7.0 Running ‘perimeter.R’ [1s/1s] Comparing ‘perimeter.Rout’ to ‘perimeter.Rout.save’ ...4,6d3 < Warning message: < In fun(libname, pkgname) : < PROJ versions differ: lwgeom has 9.7.1 sf has 9.7.0 Running ‘testthat.R’ [2s/2s] Comparing ‘testthat.Rout’ to ‘testthat.Rout.save’ ...6,8d5 < Warning message: < In fun(libname, pkgname) : < PROJ versions differ: lwgeom has 9.7.1 sf has 9.7.0 Running ‘twkb.R’ [1s/1s] Comparing ‘twkb.Rout’ to ‘twkb.Rout.save’ ...6,8d5 < Warning message: < In fun(libname, pkgname) : < PROJ versions differ: lwgeom has 9.7.1 sf has 9.7.0 Package: textshaping Check: R code for possible problems New result: NOTE systemfonts and textshaping have been compiled with different versions of Freetype. Because of this, textshaping will not use the font cache provided by systemfonts