The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Last updated on 2026-11-23 00:54:06 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.3.0 | 26.82 | 117.99 | 144.81 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.3.0 | 34.10 | 82.51 | 116.61 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.3.0 | 20.00 | 84.04 | 104.04 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.3.0 | 48.00 | 85.28 | 133.28 | ERROR | |
| r-devel-windows-x86_64 | 1.3.0 | 61.00 | 207.00 | 268.00 | OK | |
| r-patched-linux-x86_64 | 1.3.0 | 57.70 | 118.08 | 175.78 | OK | |
| r-release-linux-x86_64 | 1.3.0 | 55.72 | 99.62 | 155.34 | ERROR | |
| r-release-macos-arm64 | 1.3.0 | 8.00 | 34.00 | 42.00 | OK | |
| r-release-macos-x86_64 | 1.3.0 | 27.00 | 488.00 | 515.00 | OK | |
| r-release-windows-x86_64 | 1.3.0 | 62.00 | 136.00 | 198.00 | OK | |
| r-oldrel-macos-arm64 | 1.3.0 | 10.00 | 49.00 | 59.00 | OK | |
| r-oldrel-macos-x86_64 | 1.3.0 | 25.00 | 345.00 | 370.00 | OK | |
| r-oldrel-windows-x86_64 | 1.3.0 | 92.00 | 181.00 | 273.00 | OK |
Version: 1.3.0
Check: examples
Result: ERROR
Running examples in ‘marquee-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: element_marquee
> ### Title: ggplot2 theme element supporting marquee syntax
> ### Aliases: element_marquee
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("ggplot2")) withAutoprint({ # examplesIf
+ ## End(Don't show)
+ library(ggplot2)
+ p <- ggplot(mtcars) +
+ geom_point(aes(mpg, disp)) +
+ labs(title = "A {.red *marquee*} title\n* Look at this bullet list\n\n* great, huh?") +
+ theme_gray(base_size = 6) +
+ theme(plot.title = element_marquee())
+
+ plot(p)
+
+ ggplot(mtcars) +
+ geom_histogram(aes(x = mpg)) +
+ labs(title =
+ "I put a plot in your title so you can plot while you title
+
+ 
+
+ What more could you _possibly_ want?") +
+ theme(plot.title = element_marquee())
+ ## Don't show:
+ }) # examplesIf
> library(ggplot2)
> p <- ggplot(mtcars) + geom_point(aes(mpg, disp)) + labs(title = "A {.red *marquee*} title\n* Look at this bullet list\n\n* great, huh?") +
+ theme_gray(base_size = 6) + theme(plot.title = element_marquee())
Error in S7::new_object(S7::S7_object(), family = family, face = NULL, :
`_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Calls: withAutoprint ... <Anonymous> -> <Anonymous> -> check_parent -> stop2
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(marquee)
>
> test_check("marquee")
Saving _problems/test-element_marquee-7.R
Saving _problems/test-element_marquee-24.R
Saving _problems/test-element_marquee-56.R
Saving _problems/test-element_marquee-85.R
Saving _problems/test-element_marquee-118.R
Saving _problems/test-element_marquee-134.R
Saving _problems/test-guide_marquee-16.R
Saving _problems/test-guide_marquee-52.R
Saving _problems/test-guide_marquee-89.R
[ FAIL 9 | WARN 1 | SKIP 11 | PASS 227 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• "shape_math" %in% getNamespaceExports("textshaping") is not TRUE (2):
'test-math.R:19:3', 'test-math.R:52:3'
• On CRAN (6): 'test-glue.R:1:1', 'test-style.R:1:1',
'test-style_helpers.R:24:1', 'test-style_set.R:1:1', 'test-style_set.R:17:1',
'test-style_set.R:57:1'
• On Linux (3): 'test-grob.R:45:3', 'test-grob.R:53:3', 'test-parse.R:11:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-element_marquee.R:2:3'): element_marquee() inserts aesthetics into the style ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:2:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:24:3'): element_marquee() observes customs around margin_x/margin_y ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:24:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:51:3'): hjust controls multi-line alignment when style align is auto (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:51:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:85:3'): marquefy_theme() lets parent elements propagate style (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_gray()) at test-element_marquee.R:85:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:108:3'): element_grob falls back to the style's base values ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:108:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:133:3'): element_marquee propagates to child theme elements (#97) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─ggplot2::theme(title = element_marquee(style = classic_style())) at test-element_marquee.R:133:3
2. │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
3. │ └─base::mget(args, envir = env)
4. └─marquee::element_marquee(style = classic_style())
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:16:3'): guide_marquee can interpolate legend glyphs ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:16:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:52:3'): guide_marquee can recolour text ────────
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:52:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:83:3'): guide_marquee handles NA title width from marquefy_theme (#95) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_bw()) at test-guide_marquee.R:83:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
[ FAIL 9 | WARN 1 | SKIP 11 | PASS 227 ]
Deleting unused snapshots: 'grob/marquee_grob.png' and 'parse/parsed.csv'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.3.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘marquee.Rmd’ using rmarkdown
Quitting from marquee.Rmd:157-162 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `S7::new_object()`:
! `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
---
Backtrace:
▆
1. ├─ggplot2::theme(plot.title = element_marquee(size = 9))
2. │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
3. │ └─base::mget(args, envir = env)
4. └─marquee::element_marquee(size = 9)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'marquee.Rmd' failed with diagnostics:
`_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
--- failed re-building ‘marquee.Rmd’
--- re-building ‘marquee_style.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘marquee_style.Rmd’
--- re-building ‘marquee_syntax.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘marquee_syntax.Rmd’
SUMMARY: processing the following file failed:
‘marquee.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(marquee)
>
> test_check("marquee")
Saving _problems/test-element_marquee-7.R
Saving _problems/test-element_marquee-24.R
Saving _problems/test-element_marquee-56.R
Saving _problems/test-element_marquee-85.R
Saving _problems/test-element_marquee-118.R
Saving _problems/test-element_marquee-134.R
Saving _problems/test-grob-11.R
Saving _problems/test-grob-71.R
Saving _problems/test-guide_marquee-16.R
Saving _problems/test-guide_marquee-52.R
Saving _problems/test-guide_marquee-89.R
Saving _problems/test-math-27.R
Saving _problems/test-math-62.R
[ FAIL 13 | WARN 1 | SKIP 8 | PASS 214 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (6): 'test-glue.R:1:1', 'test-style.R:1:1',
'test-style_helpers.R:24:1', 'test-style_set.R:1:1', 'test-style_set.R:17:1',
'test-style_set.R:57:1'
• On Linux (2): 'test-grob.R:53:3', 'test-parse.R:11:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-element_marquee.R:2:3'): element_marquee() inserts aesthetics into the style ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:2:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:24:3'): element_marquee() observes customs around margin_x/margin_y ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:24:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:51:3'): hjust controls multi-line alignment when style align is auto (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:51:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:85:3'): marquefy_theme() lets parent elements propagate style (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_gray()) at test-element_marquee.R:85:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:108:3'): element_grob falls back to the style's base values ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:108:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:133:3'): element_marquee propagates to child theme elements (#97) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─ggplot2::theme(title = element_marquee(style = classic_style())) at test-element_marquee.R:133:3
2. │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
3. │ └─base::mget(args, envir = env)
4. └─marquee::element_marquee(style = classic_style())
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-grob.R:7:3'): grobs gets correctly constructed ─────────────────
Error in ``$<-.data.frame`(`*tmp*`, "colour", value = c("#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF"))`: replacement has 672 rows, data has 668
Backtrace:
▆
1. └─marquee::marquee_grob(...) at test-grob.R:7:3
2. └─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob))
3. └─base::lapply(...)
4. └─marquee (local) FUN(X[[i]], ...)
5. └─grDevices::glyphInfo(...)
6. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
7. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
── Error ('test-grob.R:71:3'): inline padding is not double-counted in span rects (#93) ──
Error in ``$<-.data.frame`(`*tmp*`, "colour", value = c("#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF"))`: replacement has 13 rows, data has 11
Backtrace:
▆
1. └─marquee::marquee_grob("aaa {.button bbb} ccc", width = NA, style = style) at test-grob.R:71:3
2. └─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob))
3. └─base::lapply(...)
4. └─marquee (local) FUN(X[[i]], ...)
5. └─grDevices::glyphInfo(...)
6. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
7. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
── Error ('test-guide_marquee.R:16:3'): guide_marquee can interpolate legend glyphs ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:16:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:52:3'): guide_marquee can recolour text ────────
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:52:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:83:3'): guide_marquee handles NA title width from marquefy_theme (#95) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_bw()) at test-guide_marquee.R:83:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-math.R:27:3'): math grobs place glyphs, lines, and boxes ───────
Error in `rbind(deparse.level, ...)`: numbers of columns of arguments do not match
Backtrace:
▆
1. ├─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob)) at test-math.R:27:3
2. └─marquee:::makeContext.marquee_grob(grob)
3. └─base::rbind(x$shape, inject(rbind(!!!math_glyphs)))
4. └─base::rbind(deparse.level, ...)
── Failure ('test-math.R:62:3'): malformed math falls back to literal text ─────
Expected `makeContent.marquee_grob(makeContext.marquee_grob(grob))` not to throw any errors.
Actually got a <simpleError> with message:
numbers of columns of arguments do not match
[ FAIL 13 | WARN 1 | SKIP 8 | PASS 214 ]
Deleting unused snapshots: 'grob/marquee_grob.png' and 'parse/parsed.csv'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.3.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘marquee.Rmd’ using rmarkdown
Warning in dev.off(dv) : Killing locked device
Quitting from marquee.Rmd:57-71 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `$<-.data.frame`:
! replacement has 456 rows, data has 454
---
Backtrace:
▆
1. ├─grid::grid.draw(marquee_grob(md_text, new_style))
2. ├─grid:::grid.draw.gTree(marquee_grob(md_text, new_style))
3. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
4. └─grid:::drawGTree(x)
5. ├─grid::makeContent(x)
6. └─marquee:::makeContent.marquee_grob(x)
7. └─base::lapply(...)
8. └─marquee (local) FUN(X[[i]], ...)
9. └─grDevices::glyphInfo(...)
10. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
11. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'marquee.Rmd' failed with diagnostics:
replacement has 456 rows, data has 454
--- failed re-building ‘marquee.Rmd’
--- re-building ‘marquee_style.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘marquee_style.Rmd’
--- re-building ‘marquee_syntax.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘marquee_syntax.Rmd’
SUMMARY: processing the following file failed:
‘marquee.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 1.3.0
Check: examples
Result: ERROR
Running examples in ‘marquee-Ex.R’ failed
The error most likely occurred in:
> ### Name: element_marquee
> ### Title: ggplot2 theme element supporting marquee syntax
> ### Aliases: element_marquee
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("ggplot2")) withAutoprint({ # examplesIf
+ ## End(Don't show)
+ library(ggplot2)
+ p <- ggplot(mtcars) +
+ geom_point(aes(mpg, disp)) +
+ labs(title = "A {.red *marquee*} title\n* Look at this bullet list\n\n* great, huh?") +
+ theme_gray(base_size = 6) +
+ theme(plot.title = element_marquee())
+
+ plot(p)
+
+ ggplot(mtcars) +
+ geom_histogram(aes(x = mpg)) +
+ labs(title =
+ "I put a plot in your title so you can plot while you title
+
+ 
+
+ What more could you _possibly_ want?") +
+ theme(plot.title = element_marquee())
+ ## Don't show:
+ }) # examplesIf
> library(ggplot2)
> p <- ggplot(mtcars) + geom_point(aes(mpg, disp)) + labs(title = "A {.red *marquee*} title\n* Look at this bullet list\n\n* great, huh?") +
+ theme_gray(base_size = 6) + theme(plot.title = element_marquee())
Error in S7::new_object(S7::S7_object(), family = family, face = NULL, :
`_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Calls: withAutoprint ... <Anonymous> -> <Anonymous> -> check_parent -> stop2
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(marquee)
>
> test_check("marquee")
Saving _problems/test-element_marquee-7.R
Saving _problems/test-element_marquee-24.R
Saving _problems/test-element_marquee-56.R
Saving _problems/test-element_marquee-85.R
Saving _problems/test-element_marquee-118.R
Saving _problems/test-element_marquee-134.R
Saving _problems/test-grob-11.R
Saving _problems/test-grob-71.R
Saving _problems/test-guide_marquee-16.R
Saving _problems/test-guide_marquee-52.R
Saving _problems/test-guide_marquee-89.R
Saving _problems/test-math-27.R
Saving _problems/test-math-62.R
[ FAIL 13 | WARN 1 | SKIP 8 | PASS 214 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (6): 'test-glue.R:1:1', 'test-style.R:1:1',
'test-style_helpers.R:24:1', 'test-style_set.R:1:1', 'test-style_set.R:17:1',
'test-style_set.R:57:1'
• On Linux (2): 'test-grob.R:53:3', 'test-parse.R:11:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-element_marquee.R:2:3'): element_marquee() inserts aesthetics into the style ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:2:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:24:3'): element_marquee() observes customs around margin_x/margin_y ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:24:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:51:3'): hjust controls multi-line alignment when style align is auto (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:51:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:85:3'): marquefy_theme() lets parent elements propagate style (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_gray()) at test-element_marquee.R:85:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:108:3'): element_grob falls back to the style's base values ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:108:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:133:3'): element_marquee propagates to child theme elements (#97) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─ggplot2::theme(title = element_marquee(style = classic_style())) at test-element_marquee.R:133:3
2. │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
3. │ └─base::mget(args, envir = env)
4. └─marquee::element_marquee(style = classic_style())
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-grob.R:7:3'): grobs gets correctly constructed ─────────────────
Error in ``$<-.data.frame`(`*tmp*`, "colour", value = c("#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF"))`: replacement has 673 rows, data has 669
Backtrace:
▆
1. └─marquee::marquee_grob(...) at test-grob.R:7:3
2. └─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob))
3. └─base::lapply(...)
4. └─marquee (local) FUN(X[[i]], ...)
5. └─grDevices::glyphInfo(...)
6. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
7. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
── Error ('test-grob.R:71:3'): inline padding is not double-counted in span rects (#93) ──
Error in ``$<-.data.frame`(`*tmp*`, "colour", value = c("#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF"))`: replacement has 13 rows, data has 11
Backtrace:
▆
1. └─marquee::marquee_grob("aaa {.button bbb} ccc", width = NA, style = style) at test-grob.R:71:3
2. └─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob))
3. └─base::lapply(...)
4. └─marquee (local) FUN(X[[i]], ...)
5. └─grDevices::glyphInfo(...)
6. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
7. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
── Error ('test-guide_marquee.R:16:3'): guide_marquee can interpolate legend glyphs ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:16:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:52:3'): guide_marquee can recolour text ────────
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:52:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:83:3'): guide_marquee handles NA title width from marquefy_theme (#95) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_bw()) at test-guide_marquee.R:83:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-math.R:27:3'): math grobs place glyphs, lines, and boxes ───────
Error in `rbind(deparse.level, ...)`: numbers of columns of arguments do not match
Backtrace:
▆
1. ├─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob)) at test-math.R:27:3
2. └─marquee:::makeContext.marquee_grob(grob)
3. └─base::rbind(x$shape, inject(rbind(!!!math_glyphs)))
4. └─base::rbind(deparse.level, ...)
── Failure ('test-math.R:62:3'): malformed math falls back to literal text ─────
Expected `makeContent.marquee_grob(makeContext.marquee_grob(grob))` not to throw any errors.
Actually got a <simpleError> with message:
numbers of columns of arguments do not match
[ FAIL 13 | WARN 1 | SKIP 8 | PASS 214 ]
Deleting unused snapshots: 'grob/marquee_grob.png' and 'parse/parsed.csv'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.3.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘marquee.Rmd’ using rmarkdown
Warning in dev.off(dv) : Killing locked device
Quitting from marquee.Rmd:57-71 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `$<-.data.frame`:
! replacement has 458 rows, data has 456
---
Backtrace:
▆
1. ├─grid::grid.draw(marquee_grob(md_text, new_style))
2. ├─grid:::grid.draw.gTree(marquee_grob(md_text, new_style))
3. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
4. └─grid:::drawGTree(x)
5. ├─grid::makeContent(x)
6. └─marquee:::makeContent.marquee_grob(x)
7. └─base::lapply(...)
8. └─marquee (local) FUN(X[[i]], ...)
9. └─grDevices::glyphInfo(...)
10. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
11. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'marquee.Rmd' failed with diagnostics:
replacement has 458 rows, data has 456
--- failed re-building ‘marquee.Rmd’
--- re-building ‘marquee_style.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘marquee_style.Rmd’
--- re-building ‘marquee_syntax.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘marquee_syntax.Rmd’
SUMMARY: processing the following file failed:
‘marquee.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(marquee)
>
> test_check("marquee")
Saving _problems/test-element_marquee-7.R
Saving _problems/test-element_marquee-24.R
Saving _problems/test-element_marquee-56.R
Saving _problems/test-element_marquee-85.R
Saving _problems/test-element_marquee-118.R
Saving _problems/test-element_marquee-134.R
Saving _problems/test-grob-11.R
Saving _problems/test-grob-71.R
Saving _problems/test-guide_marquee-16.R
Saving _problems/test-guide_marquee-52.R
Saving _problems/test-guide_marquee-89.R
Saving _problems/test-math-27.R
Saving _problems/test-math-62.R
[ FAIL 13 | WARN 1 | SKIP 8 | PASS 214 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (6): 'test-glue.R:1:1', 'test-style.R:1:1',
'test-style_helpers.R:24:1', 'test-style_set.R:1:1', 'test-style_set.R:17:1',
'test-style_set.R:57:1'
• On Linux (2): 'test-grob.R:53:3', 'test-parse.R:11:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-element_marquee.R:2:3'): element_marquee() inserts aesthetics into the style ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:2:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:24:3'): element_marquee() observes customs around margin_x/margin_y ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:24:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:51:3'): hjust controls multi-line alignment when style align is auto (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:51:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:85:3'): marquefy_theme() lets parent elements propagate style (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_gray()) at test-element_marquee.R:85:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:108:3'): element_grob falls back to the style's base values ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:108:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:133:3'): element_marquee propagates to child theme elements (#97) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─ggplot2::theme(title = element_marquee(style = classic_style())) at test-element_marquee.R:133:3
2. │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
3. │ └─base::mget(args, envir = env)
4. └─marquee::element_marquee(style = classic_style())
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-grob.R:7:3'): grobs gets correctly constructed ─────────────────
Error in ``$<-.data.frame`(`*tmp*`, "colour", value = c("#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF"))`: replacement has 673 rows, data has 669
Backtrace:
▆
1. └─marquee::marquee_grob(...) at test-grob.R:7:3
2. └─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob))
3. └─base::lapply(...)
4. └─marquee (local) FUN(X[[i]], ...)
5. └─grDevices::glyphInfo(...)
6. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
7. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
── Error ('test-grob.R:71:3'): inline padding is not double-counted in span rects (#93) ──
Error in ``$<-.data.frame`(`*tmp*`, "colour", value = c("#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF"))`: replacement has 13 rows, data has 11
Backtrace:
▆
1. └─marquee::marquee_grob("aaa {.button bbb} ccc", width = NA, style = style) at test-grob.R:71:3
2. └─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob))
3. └─base::lapply(...)
4. └─marquee (local) FUN(X[[i]], ...)
5. └─grDevices::glyphInfo(...)
6. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
7. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
── Error ('test-guide_marquee.R:16:3'): guide_marquee can interpolate legend glyphs ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:16:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:52:3'): guide_marquee can recolour text ────────
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:52:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:83:3'): guide_marquee handles NA title width from marquefy_theme (#95) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_bw()) at test-guide_marquee.R:83:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-math.R:27:3'): math grobs place glyphs, lines, and boxes ───────
Error in `rbind(deparse.level, ...)`: numbers of columns of arguments do not match
Backtrace:
▆
1. ├─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob)) at test-math.R:27:3
2. └─marquee:::makeContext.marquee_grob(grob)
3. └─base::rbind(x$shape, inject(rbind(!!!math_glyphs)))
4. └─base::rbind(deparse.level, ...)
── Failure ('test-math.R:62:3'): malformed math falls back to literal text ─────
Expected `makeContent.marquee_grob(makeContext.marquee_grob(grob))` not to throw any errors.
Actually got a <simpleError> with message:
numbers of columns of arguments do not match
[ FAIL 13 | WARN 1 | SKIP 8 | PASS 214 ]
Deleting unused snapshots: 'grob/marquee_grob.png' and 'parse/parsed.csv'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(marquee)
>
> test_check("marquee")
Saving _problems/test-element_marquee-7.R
Saving _problems/test-element_marquee-24.R
Saving _problems/test-element_marquee-56.R
Saving _problems/test-element_marquee-85.R
Saving _problems/test-element_marquee-118.R
Saving _problems/test-element_marquee-134.R
Saving _problems/test-grob-11.R
Saving _problems/test-grob-71.R
Saving _problems/test-guide_marquee-16.R
Saving _problems/test-guide_marquee-52.R
Saving _problems/test-guide_marquee-89.R
Saving _problems/test-math-27.R
Saving _problems/test-math-62.R
[ FAIL 13 | WARN 1 | SKIP 8 | PASS 214 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (6): 'test-glue.R:1:1', 'test-style.R:1:1',
'test-style_helpers.R:24:1', 'test-style_set.R:1:1', 'test-style_set.R:17:1',
'test-style_set.R:57:1'
• On Linux (2): 'test-grob.R:53:3', 'test-parse.R:11:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-element_marquee.R:2:3'): element_marquee() inserts aesthetics into the style ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:2:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:24:3'): element_marquee() observes customs around margin_x/margin_y ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::element_marquee(...) at test-element_marquee.R:24:3
2. └─element_env$s7_class(...)
3. └─S7::new_object(...)
4. └─S7:::check_parent(`_parent`, class)
5. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:51:3'): hjust controls multi-line alignment when style align is auto (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:51:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:85:3'): marquefy_theme() lets parent elements propagate style (#104) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_gray()) at test-element_marquee.R:85:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:108:3'): element_grob falls back to the style's base values ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─marquee:::element_grob.element_marquee(...) at test-element_marquee.R:108:3
2. │ ├─style %||% element$style %||% classic_style()
3. │ └─style %||% element$style
4. └─marquee::element_marquee(...)
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-element_marquee.R:133:3'): element_marquee propagates to child theme elements (#97) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. ├─ggplot2::theme(title = element_marquee(style = classic_style())) at test-element_marquee.R:133:3
2. │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
3. │ └─base::mget(args, envir = env)
4. └─marquee::element_marquee(style = classic_style())
5. └─element_env$s7_class(...)
6. └─S7::new_object(...)
7. └─S7:::check_parent(`_parent`, class)
8. └─S7:::stop2(msg, call = call)
── Error ('test-grob.R:7:3'): grobs gets correctly constructed ─────────────────
Error in ``$<-.data.frame`(`*tmp*`, "colour", value = c("#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#FF0000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#00DD55FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#777777FF", "#777777FF", "#777777FF", "#777777FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF"))`: replacement has 672 rows, data has 668
Backtrace:
▆
1. └─marquee::marquee_grob(...) at test-grob.R:7:3
2. └─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob))
3. └─base::lapply(...)
4. └─marquee (local) FUN(X[[i]], ...)
5. └─grDevices::glyphInfo(...)
6. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
7. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
── Error ('test-grob.R:71:3'): inline padding is not double-counted in span rects (#93) ──
Error in ``$<-.data.frame`(`*tmp*`, "colour", value = c("#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF", "#000000FF"))`: replacement has 13 rows, data has 11
Backtrace:
▆
1. └─marquee::marquee_grob("aaa {.button bbb} ccc", width = NA, style = style) at test-grob.R:71:3
2. └─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob))
3. └─base::lapply(...)
4. └─marquee (local) FUN(X[[i]], ...)
5. └─grDevices::glyphInfo(...)
6. ├─base::`$<-`(`*tmp*`, "colour", value = `<chr>`)
7. └─base::`$<-.data.frame`(`*tmp*`, "colour", value = `<chr>`)
── Error ('test-guide_marquee.R:16:3'): guide_marquee can interpolate legend glyphs ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:16:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:52:3'): guide_marquee can recolour text ────────
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─GuideMarquee$draw(ggplot2::theme_get(), params = params) at test-guide_marquee.R:52:3
2. └─marquee (local) draw(..., self = self)
3. ├─ggplot2::merge_element(element_marquee(), elems$title)
4. │ └─S7::S7_dispatch()
5. └─marquee::element_marquee()
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-guide_marquee.R:83:3'): guide_marquee handles NA title width from marquefy_theme (#95) ──
<error/condition>
Error in `S7::new_object(S7::S7_object(), family = family, face = NULL, colour = colour, size = size, hjust = hjust, vjust = vjust, angle = angle, lineheight = lineheight, margin = margin, debug = NULL, inherit.blank = inherit.blank, italic = NA_character_, fontweight = NA_real_, fontwidth = NA_real_, style = style, width = width)`: `_parent` must be an instance of <ggplot2::element_text>, not <S7_object>.
Backtrace:
▆
1. └─marquee::marquefy_theme(ggplot2::theme_bw()) at test-guide_marquee.R:83:3
2. └─base::Map(...)
3. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
4. └─marquee (local) `<fn>`(dots[[1L]][[3L]], dots[[2L]][[3L]])
5. └─marquee::element_marquee(...)
6. └─element_env$s7_class(...)
7. └─S7::new_object(...)
8. └─S7:::check_parent(`_parent`, class)
9. └─S7:::stop2(msg, call = call)
── Error ('test-math.R:27:3'): math grobs place glyphs, lines, and boxes ───────
Error in `rbind(deparse.level, ...)`: numbers of columns of arguments do not match
Backtrace:
▆
1. ├─marquee:::makeContent.marquee_grob(makeContext.marquee_grob(grob)) at test-math.R:27:3
2. └─marquee:::makeContext.marquee_grob(grob)
3. └─base::rbind(x$shape, inject(rbind(!!!math_glyphs)))
4. └─base::rbind(deparse.level, ...)
── Failure ('test-math.R:62:3'): malformed math falls back to literal text ─────
Expected `makeContent.marquee_grob(makeContext.marquee_grob(grob))` not to throw any errors.
Actually got a <simpleError> with message:
numbers of columns of arguments do not match
[ FAIL 13 | WARN 1 | SKIP 8 | PASS 214 ]
Deleting unused snapshots: 'grob/marquee_grob.png' and 'parse/parsed.csv'
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.