CRAN Package Check Results for Package coursekata

Last updated on 2026-04-07 12:56:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.19.2 11.29 163.96 175.25 OK
r-devel-linux-x86_64-debian-gcc 0.19.2 5.53 113.07 118.60 OK
r-devel-linux-x86_64-fedora-clang 0.19.2 21.00 251.87 272.87 ERROR
r-devel-linux-x86_64-fedora-gcc 0.19.2 19.00 238.45 257.45 ERROR
r-devel-macos-arm64 0.19.2 3.00 38.00 41.00 OK
r-devel-windows-x86_64 0.19.2 14.00 150.00 164.00 OK
r-patched-linux-x86_64 0.19.2 10.67 149.05 159.72 OK
r-release-linux-x86_64 0.19.2 9.95 148.32 158.27 OK
r-release-macos-arm64 0.19.2 3.00 38.00 41.00 OK
r-release-macos-x86_64 0.19.2 8.00 145.00 153.00 OK
r-release-windows-x86_64 0.19.2 13.00 148.00 161.00 OK
r-oldrel-macos-arm64 0.19.2 3.00 41.00 44.00 OK
r-oldrel-macos-x86_64 0.19.2 8.00 152.00 160.00 OK
r-oldrel-windows-x86_64 0.19.2 18.00 188.00 206.00 OK

Check Details

Version: 0.19.2
Check: examples
Result: ERROR Running examples in ‘coursekata-Ex.R’ failed The error most likely occurred in: > ### Name: middle > ### Title: Find a percentage of a distribution > ### Aliases: middle tails outer lower upper > > ### ** Examples > > > upper(1:10, .1) [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE > lower(1:10, .2) [1] TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE > middle(1:10, .5) [1] FALSE FALSE TRUE TRUE TRUE TRUE TRUE TRUE FALSE FALSE > tails(1:10, .5) [1] TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE > > sampling_distribution <- do(1000) * mean(rnorm(100, 5, 10)) > sampling_distribution %>% + gf_histogram(~mean, data = sampling_distribution, fill = ~ middle(mean, .68)) %>% + gf_refine(scale_fill_manual(values = c("blue", "coral"))) Error: ! Problem while computing aesthetics. ℹ Error occurred in the 1st layer. Caused by error in `as.data.frame.default()`: ! cannot coerce class ‘"function"’ to a data.frame Backtrace: ▆ 1. ├─base (local) `<fn>`(x) 2. ├─ggformula:::print.gf_ggplot(x) 3. ├─base::NextMethod() 4. ├─ggplot2 (local) `print.ggplot2::ggplot`(x) 5. │ ├─ggplot2::ggplot_build(x) 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 18. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 19. │ └─rlang (local) FUN(X[[i]], ...) 20. ├─coursekata::middle(mean, 0.68) 21. │ └─coursekata::upper(x, tail_prop, !greedy) 22. │ └─base::data.frame(x = x, original_pos = seq_along(x)) 23. │ ├─base::as.data.frame(x[[i]], optional = TRUE) 24. │ └─base::as.data.frame.default(x[[i]], optional = TRUE) 25. │ └─base::stop(...) 26. └─base::.handleSimpleError(...) 27. └─rlang (local) h(simpleError(msg, call)) 28. └─handlers[[1L]](cnd) 29. └─cli::cli_abort(...) 30. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.19.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘gf-squareplot.Rmd’ using rmarkdown Quitting from gf-squareplot.Rmd:106-114 [dgp] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `gf_squareplot()`: ! `x` must be numeric. --- Backtrace: ▆ 1. └─coursekata::gf_squareplot(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'gf-squareplot.Rmd' failed with diagnostics: `x` must be numeric. --- failed re-building ‘gf-squareplot.Rmd’ SUMMARY: processing the following file failed: ‘gf-squareplot.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

mirror server hosted at Truenetwork, Russian Federation.