Last updated on 2024-11-15 19:49:52 CET.
Package | FAIL | NOTE | OK |
---|---|---|---|
cleanrmd | 13 | ||
collegeScorecard | 4 | 9 | |
countdown | 13 | ||
epoxy | 13 | ||
lorem | 13 | ||
metathis | 13 | ||
starwarsdb | 13 | ||
xaringanExtra | 13 | ||
xaringanthemer | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: NOTE: 4, OK: 9
Version: 0.1.0
Check: installed package size
Result: NOTE
installed size is 5.4Mb
sub-directories of 1Mb or more:
data 5.2Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: FAIL: 1, OK: 12
Version: 0.4.3
Check: tests
Result: ERROR
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(xaringanthemer)
>
> test_check("xaringanthemer")
[ FAIL 11 | WARN 0 | SKIP 0 | PASS 196 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ggplot2.R:193:5'): theme_xaringan_inverse(): works with 3-digit hex colors ──
Error in `setwd(oldwd)`: cannot change working directory
Backtrace:
▆
1. └─xaringanthemer:::with_clean_session(...) at test-ggplot2.R:193:5
2. └─callr::r_safe(...) at tests/testthat/helper-session.R:7:3
3. └─callr:::run_r(options)
4. └─base::setwd(oldwd)
── Error ('test-ggplot2.R:217:5'): theme_xaringan_base(): accepts a regular text_font or title_font ──
Error in `with_clean_session(function() {
xaringanthemer::theme_xaringan_base(text_color = "#000",
accent_color = "#1a2b3c", background_color = "#FFF",
text_font = "sans", title_font = "serif", text_font_use_google = FALSE,
title_font_use_google = FALSE)
})`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. └─xaringanthemer:::with_clean_session(...) at test-ggplot2.R:217:5
── Error ('test-ggplot2.R:235:3'): theme_xaringan_restore_defaults() restores defaults ──
Error in `with_clean_session(function() {
res <- list()
res$nothing <- list(xaringanthemer::theme_xaringan_restore_defaults())
res$original <- list(colour = ggplot2::geom_line()$geom$default_aes$colour,
fill = ggplot2::geom_bar()$geom$default_aes$fill)
old_defaults <- xaringanthemer::theme_xaringan_set_defaults(text_color = "#0088ff",
background_color = "#88ff00", accent_color = "#FF8800")
res$after_set <- list(line_colour = ggplot2::geom_line()$geom$default_aes$colour,
bar_fill = ggplot2::geom_bar()$geom$default_aes$fill)
xaringanthemer::theme_xaringan_restore_defaults()
res$after_restore <- list(line_colour = ggplot2::geom_line()$geom$default_aes$colour,
bar_fill = ggplot2::geom_bar()$geom$default_aes$fill)
res
})`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. └─xaringanthemer:::with_clean_session(...) at test-ggplot2.R:235:3
── Error ('test-ggplot2.R:282:5'): theme_xaringan_get_value(): returns theme values ──
Error in `with_clean_session(function() {
xaringanthemer::style_xaringan(base_font_size = "33px", text_font_size = "23px",
text_color = "#000001", inverse_text_color = "#100000",
background_color = "#000002", inverse_background_color = "#200000",
header_color = "#000003", inverse_header_color = "#300000",
text_bold_color = "#000004", text_font_family = "Damogran",
text_font_google = NULL, header_font_family = "Magrathea",
header_font_google = NULL, outfile = NULL)
list(text = xaringanthemer::theme_xaringan_get_value(c("text_font_family",
"text_font_is_google", "text_color", "text_bold_color")),
code_font_is_google = xaringanthemer::theme_xaringan_get_value("code_font_is_google"),
inverse_text_color = xaringanthemer::theme_xaringan_get_value("inverse_text_color"),
background_color = xaringanthemer::theme_xaringan_get_value("background_color"),
header_color = xaringanthemer::theme_xaringan_get_value("header_color"),
inverse_header_color = xaringanthemer::theme_xaringan_get_value("inverse_header_color"),
base_font_size = xaringanthemer:::get_base_font_size(),
accent_color = xaringanthemer:::get_theme_accent_color(),
accent_color_inverse = xaringanthemer:::get_theme_accent_color(inverse = TRUE))
})`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. └─xaringanthemer:::with_clean_session(...) at test-ggplot2.R:282:5
── Error ('test-ggplot2.R:344:5'): theme_xaringan_get_value(): returns theme values from the css file ──
Error in `with_clean_session(function(css) {
writeLines(css, "xaringan-themer.css")
list(text = xaringanthemer::theme_xaringan_get_value(c("text_font_family",
"text_font_is_google", "text_color", "text_bold_color")),
code_font_is_google = xaringanthemer::theme_xaringan_get_value("code_font_is_google"),
inverse_text_color = xaringanthemer::theme_xaringan_get_value("inverse_text_color"),
background_color = xaringanthemer::theme_xaringan_get_value("background_color"),
header_color = xaringanthemer::theme_xaringan_get_value("header_color"),
inverse_header_color = xaringanthemer::theme_xaringan_get_value("inverse_header_color"),
base_font_size = xaringanthemer:::get_base_font_size(),
accent_color = xaringanthemer:::get_theme_accent_color(),
accent_color_inverse = xaringanthemer:::get_theme_accent_color(inverse = TRUE))
}, list(css = css))`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. └─xaringanthemer:::with_clean_session(...) at test-ggplot2.R:344:5
── Error ('test-ggplot2.R:410:3'): (code run outside of `test_that()`) ─────────
Error in `with_clean_session(function() {
xaringanthemer::style_xaringan(background_color = "#00FF00",
inverse_background_color = "#FF00FF", header_color = "#FF0000",
inverse_header_color = "#0000FF", outfile = NULL)
list(discrete = list(fill = xaringanthemer::scale_xaringan_fill_discrete(),
fill_inverse = xaringanthemer::scale_xaringan_fill_discrete(inverse = TRUE),
fill_reverse = xaringanthemer::scale_xaringan_fill_discrete(direction = -1),
color = xaringanthemer::scale_xaringan_color_discrete(),
color_inverse = xaringanthemer::scale_xaringan_color_discrete(inverse = TRUE),
color_reverse = xaringanthemer::scale_xaringan_color_discrete(direction = -1),
colour = xaringanthemer::scale_xaringan_colour_discrete(),
colour_inverse = xaringanthemer::scale_xaringan_colour_discrete(inverse = TRUE),
colour_reverse = xaringanthemer::scale_xaringan_colour_discrete(direction = -1)),
continuous = list(fill = xaringanthemer::scale_xaringan_fill_continuous(),
fill_inverse = xaringanthemer::scale_xaringan_fill_continuous(inverse = TRUE),
fill_reverse = xaringanthemer::scale_xaringan_fill_continuous(begin = 1,
end = 0), color = xaringanthemer::scale_xaringan_color_continuous(),
color_inverse = xaringanthemer::scale_xaringan_color_continuous(inverse = TRUE),
color_reverse = xaringanthemer::scale_xaringan_color_continuous(begin = 1,
end = 0), colour = xaringanthemer::scale_xaringan_colour_continuous(),
colour_inverse = xaringanthemer::scale_xaringan_colour_continuous(inverse = TRUE),
colour_reverse = xaringanthemer::scale_xaringan_colour_continuous(begin = 1,
end = 0)))
})`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. └─testthat::describe(...) at test-ggplot2.R:409:1
2. └─base::eval(substitute(code), describe_environment)
3. └─base::eval(substitute(code), describe_environment)
4. └─xaringanthemer:::with_clean_session(...) at test-ggplot2.R:410:3
── Error ('test-themes.R:58:3'): setting google font overrides individual font ──
Error in `with_clean_session(function() {
xf <- xaringanthemer::style_xaringan(text_font_family = "Damogran",
header_font_family = "Magrathea", code_font_google = xaringanthemer::google_font("IBM Plex Mono"))
xaringanthemer:::read_css_vars(xf)
})`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. └─xaringanthemer:::with_clean_session(...) at test-themes.R:58:3
── Error ('test-themes.R:76:3'): default fonts are correctly identified as google font ──
Error in `with_clean_session(function() {
xf <- xaringanthemer::style_xaringan()
xaringanthemer:::read_css_vars(xf)
})`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. └─xaringanthemer:::with_clean_session(...) at test-themes.R:76:3
── Error ('test-themes.R:91:3'): NULL output returns CSS as text ───────────────
Error in `with_clean_session(function() {
xaringanthemer::style_xaringan(outfile = NULL)
file.exists("xaringan-themer.css")
})`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. ├─testthat::expect_false(...) at test-themes.R:91:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─xaringanthemer:::with_clean_session(...)
── Error ('test-themes.R:108:3'): style_xaringan() warns about non-hex colors used by theme_xaringan() ──
Error in `with_clean_session(function() {
options(warn = 2)
xaringanthemer::style_xaringan(text_color = "rgb(100, 100, 100)",
background_color = "white", outfile = NULL)
})`: there is no package called ‘xaringanthemer’
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-themes.R:108: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. └─xaringanthemer:::with_clean_session(...)
── Error ('test-utils.R:2:3'): printing google_font works ──────────────────────
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'evaluate'
Backtrace:
▆
1. ├─testthat::expect_snapshot(...) at test-utils.R:2:3
2. │ ├─testthat:::with_is_snapshotting(...)
3. │ └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 11 | WARN 0 | SKIP 0 | PASS 196 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.4.3
Check: for unstated dependencies in vignettes
Result: FAIL
Flavor: r-devel-linux-x86_64-debian-clang