* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/ibawds.Rcheck’ * using R Under development (unstable) (2026-03-14 r89622) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7) GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * current time: 2026-03-14 17:14:56 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘ibawds/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ibawds’ 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘ibawds’ can be installed ... OK * checking package 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in ‘ibawds-Ex.R’ failed The error most likely occurred in: > ### Name: cluster_with_centers > ### Title: Cluster Data According to Centres and Recompute Centres > ### Aliases: cluster_with_centers init_rand_centers > > ### ** Examples > > # demonstrate k-means with iris data > # keep the relevant columns > iris2 <- iris[, c("Sepal.Length", "Petal.Length")] > > # initialise the cluster centres > clust <- init_rand_centers(iris2, n = 3, seed = 2435) > > # plot the data with the cluster centres > library(ggplot2) > ggplot(iris2, aes(x = Sepal.Length, y = Petal.Length)) + + geom_point(data = clust$centers, aes(colour = factor(1:3)), + shape = 18, size = 6) + + geom_point() + + scale_colour_brewer(palette = "Set1") > > # assign clusters and compute new centres > clust_new <- cluster_with_centers(iris2, clust$centers) > > # plot the data with clustering > clust$cluster <- clust_new$cluster > voronoi_diagram(clust, x = "Sepal.Length", y = "Petal.Length", + data = iris2) Error in voronoi_diagram(clust, x = "Sepal.Length", y = "Petal.Length", : The package "deldir" is required. Calls: voronoi_diagram -> Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘spelling.R’ Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ibawds) Loading required package: dslabs > > test_check("ibawds") Saving _problems/test-evaluate_casestudy-27.R Saving _problems/test-evaluate_casestudy-36.R Saving _problems/test-evaluate_casestudy-48.R Saving _problems/test-evaluate_casestudy-63.R Saving _problems/test-evaluate_casestudy-75.R [ FAIL 5 | WARN 0 | SKIP 9 | PASS 61 ] ══ Skipped tests (9) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-cran_packages.R:8:3', 'test-cran_packages.R:20:3', 'test-cran_packages.R:27:3' • {httr2} is not installed. (1): 'test-checks.R:2:1' • {knitr} is not installed. (1): 'test-slide_tools.R:2:1' • {lubridate} is not installed. (1): 'test-install.R:4:1' • {rvest} is not installed. (1): 'test-grading_tables.R:1:1' • {vdiffr} is not installed. (2): 'test-dist_plots.R:1:1', 'test-voronoi.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-evaluate_casestudy.R:27:3'): evaluate_casestudy() works for a perfect file ── Error in `evaluate_casestudy(ok_file, sol_file)`: The package "nanoparquet" is required. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-evaluate_casestudy.R:27:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ibawds::evaluate_casestudy(ok_file, sol_file) 5. └─rlang::check_installed("nanoparquet") ── Error ('test-evaluate_casestudy.R:35:3'): evaluate_casestudy() works for an incomplete file ── Error in `evaluate_casestudy(nok_file, sol_file)`: The package "nanoparquet" is required. Backtrace: ▆ 1. ├─... %>% ... at test-evaluate_casestudy.R:35:3 2. ├─testthat::expect_warning(., str_glue("{nok_file} does not contain predictions")) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. ├─testthat::expect_equal(...) 9. │ └─testthat::quasi_label(enquo(object), label) 10. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 11. └─ibawds::evaluate_casestudy(nok_file, sol_file) 12. └─rlang::check_installed("nanoparquet") ── Error ('test-evaluate_casestudy.R:44:3'): evaluate_casestudy() works for a file with errors ── Error in `evaluate_casestudy(errors_file, sol_file)`: The package "nanoparquet" is required. Backtrace: ▆ 1. ├─... %>% ... at test-evaluate_casestudy.R:44:3 2. ├─testthat::expect_warning(., str_glue("{errors_file} contains predictions that are NA")) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. ├─testthat::expect_warning(., str_glue("{errors_file} contains invalid predictions")) 9. │ └─testthat:::expect_condition_matching_(...) 10. │ └─testthat:::quasi_capture(...) 11. │ ├─testthat (local) .capture(...) 12. │ │ └─base::withCallingHandlers(...) 13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 14. ├─testthat::expect_warning(., str_glue("{errors_file} contains invalid ids")) 15. │ └─testthat:::expect_condition_matching_(...) 16. │ └─testthat:::quasi_capture(...) 17. │ ├─testthat (local) .capture(...) 18. │ │ └─base::withCallingHandlers(...) 19. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 20. ├─testthat::expect_warning(., str_glue("{errors_file} does not contain predictions")) 21. │ └─testthat:::expect_condition_matching_(...) 22. │ └─testthat:::quasi_capture(...) 23. │ ├─testthat (local) .capture(...) 24. │ │ └─base::withCallingHandlers(...) 25. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 26. ├─testthat::expect_equal(...) 27. │ └─testthat::quasi_label(enquo(object), label) 28. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 29. └─ibawds::evaluate_casestudy(errors_file, sol_file) 30. └─rlang::check_installed("nanoparquet") ── Error ('test-evaluate_casestudy.R:53:3'): evaluate_casestudy() works with multiple files ── Error in `evaluate_casestudy(c(ok_file, nok_file, errors_file), sol_file)`: The package "nanoparquet" is required. Backtrace: ▆ 1. ├─... %>% ... at test-evaluate_casestudy.R:53:3 2. ├─testthat::expect_warning(., str_glue("{errors_file} contains predictions that are NA")) 3. │ └─testthat:::expect_condition_matching_(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. ├─testthat::expect_warning(., str_glue("{errors_file} contains invalid predictions")) 9. │ └─testthat:::expect_condition_matching_(...) 10. │ └─testthat:::quasi_capture(...) 11. │ ├─testthat (local) .capture(...) 12. │ │ └─base::withCallingHandlers(...) 13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 14. ├─testthat::expect_warning(., str_glue("{errors_file} contains invalid ids")) 15. │ └─testthat:::expect_condition_matching_(...) 16. │ └─testthat:::quasi_capture(...) 17. │ ├─testthat (local) .capture(...) 18. │ │ └─base::withCallingHandlers(...) 19. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 20. ├─testthat::expect_warning(., str_glue("{errors_file} does not contain predictions")) 21. │ └─testthat:::expect_condition_matching_(...) 22. │ └─testthat:::quasi_capture(...) 23. │ ├─testthat (local) .capture(...) 24. │ │ └─base::withCallingHandlers(...) 25. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 26. ├─testthat::expect_warning(., str_glue("{nok_file} does not contain predictions")) 27. │ └─testthat:::expect_condition_matching_(...) 28. │ └─testthat:::quasi_capture(...) 29. │ ├─testthat (local) .capture(...) 30. │ │ └─base::withCallingHandlers(...) 31. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 32. ├─testthat::expect_equal(...) 33. │ └─testthat::quasi_label(enquo(object), label) 34. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 35. └─ibawds::evaluate_casestudy(...) 36. └─rlang::check_installed("nanoparquet") ── Error ('test-evaluate_casestudy.R:72:3'): evaluate_casestudy() works with draws ── Error in `evaluate_casestudy(pred_files, sol_file)`: The package "nanoparquet" is required. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-evaluate_casestudy.R:72:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::suppressWarnings(evaluate_casestudy(pred_files, sol_file)) 5. │ └─base::withCallingHandlers(...) 6. └─ibawds::evaluate_casestudy(pred_files, sol_file) 7. └─rlang::check_installed("nanoparquet") [ FAIL 5 | WARN 0 | SKIP 9 | PASS 61 ] Deleting unused snapshots: 'dist_plots/density-plot-binomial.svg', 'dist_plots/density-plot-chi2.svg', 'dist_plots/density-plot-normal.svg', 'dist_plots/density-plot-poisson.svg', 'dist_plots/density-plot-weibull.svg', 'dist_plots/distribution-plot-binomial.svg', 'dist_plots/distribution-plot-normal.svg', 'dist_plots/distribution-plot-poisson-continuous.svg', 'dist_plots/distribution-plot-uniform.svg', 'voronoi/voronoi-default.svg', 'voronoi/voronoi-suppress-data.svg', 'voronoi/voronoi-uncoloured-data.svg', 'voronoi/voronoi-with-data.svg', and 'voronoi/voronoi-with-options.svg' Error: ! Test failures. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-Suggests/ibawds.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:15.42, 59.19 + 7.78