- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘ibawds/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘ibawds’ version ‘1.1.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 ... [2s/2s] OK
See the install log for details.
- checking installed package size ... 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [1s/2s] OK
- checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/8s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ibawds)
Loading required package: dslabs
>
> test_check("ibawds")
[ FAIL 4 | WARN 0 | SKIP 15 | PASS 154 ]
══ Skipped tests (15) ══════════════════════════════════════════════════════════
• On CRAN (12): 'test-checks.R:83:3', 'test-checks.R:98:3',
'test-checks.R:173:3', 'test-cran_packages.R:8:3',
'test-cran_packages.R:20:3', 'test-cran_packages.R:27:3',
'test-dist_plots.R:25:3', 'test-dist_plots.R:39:3', 'test-dist_plots.R:55:3',
'test-dist_plots.R:71:3', 'test-slide_tools.R:37:3', 'test-voronoi.R:8:3'
• On Mac (2): 'test-checks.R:4:3', 'test-checks.R:47:3'
• not all the required packages are installed. (1): 'test-install.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grading_tables.R:36:3'): test create_minreq_table ──────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `create_minreq_table(TRUE, 3, 2, 5, 2)`: The package "kableExtra" is required.
Backtrace:
▆
1. └─ibawds::create_minreq_table(TRUE, 3, 2, 5, 2) at test-grading_tables.R:36:3
2. └─rlang::check_installed("kableExtra")
── Error ('test-grading_tables.R:47:3'): test create_grading_table ─────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `create_grading_table(2.5, 2, 3, 1, 2)`: The package "kableExtra" is required.
Backtrace:
▆
1. └─ibawds::create_grading_table(2.5, 2, 3, 1, 2) at test-grading_tables.R:47:3
2. └─rlang::check_installed("kableExtra")
── Error ('test-grading_tables.R:54:3'): test invalid inputs ───────────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `create_grading_table(1, 1, 1, 1, -1)`: The package "kableExtra" is required.
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-grading_tables.R:54:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─ibawds::create_grading_table(1, 1, 1, 1, -1)
8. └─rlang::check_installed("kableExtra")
── Failure ('test-install.R:100:3'): test get_software_versions() ──────────────
sw$pkg_installed is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 4 | WARN 0 | SKIP 15 | PASS 154 ]
Deleting unused snapshots:
• dist_plots/density-plot-chi2.svg
• dist_plots/density-plot-poisson.svg
• dist_plots/density-plot-weibull.svg
• dist_plots/distribution-plot-poisson-continuous.svg
• dist_plots/distribution-plot-uniform.svg
• voronoi/voronoi-suppress-data.svg
• voronoi/voronoi-uncoloured-data.svg
• voronoi/voronoi-with-data.svg
• voronoi/voronoi-with-options.svg
Error: Test failures
Execution halted
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '