CRAN Package Check Results for Package coursekata

Last updated on 2025-04-13 01:51:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.18.1 11.36 115.41 126.77 OK
r-devel-linux-x86_64-debian-gcc 0.18.1 8.09 67.63 75.72 ERROR
r-devel-linux-x86_64-fedora-gcc 0.18.1 185.35 OK
r-devel-macos-arm64 0.18.1 54.00 OK
r-devel-macos-x86_64 0.18.1 138.00 OK
r-devel-windows-x86_64 0.18.1 11.00 111.00 122.00 OK
r-patched-linux-x86_64 0.18.1 9.86 107.87 117.73 OK
r-release-linux-x86_64 0.18.1 OK
r-release-macos-arm64 0.18.1 56.00 OK
r-release-macos-x86_64 0.18.1 120.00 OK
r-release-windows-x86_64 0.18.1 16.00 142.00 158.00 OK
r-oldrel-macos-arm64 0.18.1 OK
r-oldrel-macos-x86_64 0.18.1 92.00 OK
r-oldrel-windows-x86_64 0.18.1 16.00 138.00 154.00 OK

Check Details

Version: 0.18.1
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(coursekata) Loading required package: dslabs Loading required package: fivethirtyeight Some larger datasets need to be installed separately, like senators and house_district_forecast. To install these, we recommend you install the fivethirtyeightdata package by running: install.packages('fivethirtyeightdata', repos = 'https://fivethirtyeightdata.github.io/drat/', type = 'source') Loading required package: Metrics Loading required package: lsr Loading required package: mosaic The 'mosaic' package masks several functions from core packages in order to add additional features. The original behavior of these functions should not be affected by this. Attaching package: 'mosaic' The following objects are masked from 'package:dplyr': count, do, tally The following object is masked from 'package:Matrix': mean The following object is masked from 'package:ggplot2': stat The following object is masked from 'package:testthat': compare The following objects are masked from 'package:stats': IQR, binom.test, cor, cor.test, cov, fivenum, median, prop.test, quantile, sd, t.test, var The following objects are masked from 'package:base': max, mean, min, prod, range, sample, sum Loading required package: supernova ── CourseKata packages ──────────────────────────────────── coursekata 0.18.1 ── ✔ dslabs 0.8.0 ✔ Metrics 0.1.4 x Lock5withR ✔ lsr 0.5.2 x fivethirtyeightdata ✔ mosaic 1.9.1 ✔ fivethirtyeight 0.6.2 ✔ supernova 3.0.0 Attaching package: 'coursekata' The following object is masked from 'package:datasets': penguins > > test_check("coursekata") Starting 2 test processes Error in `private$handle_error()`: ! testthat subprocess failed to start, stderr: Error: package or namespace load failed for 'coursekata' in ans[ypos] <- rep(yes, length.out = len)[ypos]: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Caused by error: ! R session crashed with exit code 1 Backtrace: ▆ 1. └─testthat::test_check("coursekata") 2. └─testthat::test_dir(...) 3. └─testthat:::test_files(...) 4. └─testthat:::test_files_parallel(...) 5. ├─withr::with_dir(...) 6. │ └─base::force(code) 7. ├─testthat::with_reporter(...) 8. │ └─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".") 13. └─queue$poll(Inf) 14. └─base::lapply(...) 15. └─testthat (local) FUN(X[[i]], ...) 16. └─private$handle_error(msg, i) 17. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc