CRAN Package Check Results for Package animint2

Last updated on 2024-09-09 20:48:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2024.1.24 21.48 173.05 194.53 ERROR
r-devel-linux-x86_64-debian-gcc 2024.1.24 12.88 168.28 181.16 NOTE
r-devel-linux-x86_64-fedora-clang 2024.1.24 471.26 NOTE
r-devel-linux-x86_64-fedora-gcc 2024.1.24 427.16 NOTE
r-devel-windows-x86_64 2024.1.24 23.00 290.00 313.00 NOTE
r-patched-linux-x86_64 2024.1.24 27.84 245.37 273.21 NOTE
r-release-linux-x86_64 2024.1.24 19.71 243.87 263.58 NOTE
r-release-macos-arm64 2024.1.24 110.00 OK
r-release-macos-x86_64 2024.1.24 184.00 OK
r-release-windows-x86_64 2024.1.24 22.00 284.00 306.00 NOTE
r-oldrel-macos-arm64 2024.1.24 116.00 OK
r-oldrel-macos-x86_64 2024.1.24 260.00 OK
r-oldrel-windows-x86_64 2024.1.24 32.00 364.00 396.00 OK

Check Details

Version: 2024.1.24
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: ggplot_gtable.Rd: gtable Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64

Version: 2024.1.24
Check: examples
Result: ERROR Running examples in ‘animint2-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: aes > ### Title: Define aesthetic mappings. > ### Aliases: aes > > ### ** Examples > > aes(x = mpg, y = wt) * x -> mpg * y -> wt > aes(mpg, wt) * x -> mpg * y -> wt > > # You can also map aesthetics to functions of variables > aes(x = mpg ^ 2, y = wt / cyl) * x -> mpg^2 * y -> wt/cyl > > # Aesthetic names are automatically standardised > aes(col = x) * colour -> x > aes(fg = x) * colour -> x > aes(color = x) * colour -> x > aes(colour = x) * colour -> x > > # aes is almost always used with ggplot() or a layer > ggplot(mpg, aes(displ, hwy)) + geom_point() Error: Cannot create zero-length unit vector ("unit" subsetting) Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2024.1.24
Check: tests
Result: ERROR Running ‘namespace.R’ [1s/2s] Running ‘testthat.R’ [69s/94s] Running the tests in ‘tests/namespace.R’ failed. Complete output: > library(animint2) > gg <- ggplot(faithfuld, aes(x = waiting, y = eruptions, z = density)) + + geom_contour() > print(gg) Error: Cannot create zero-length unit vector ("unit" subsetting) Execution halted Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > data.table::setDTthreads(1) > test_check("animint2", filter="compiler") Loading required package: animint2 [1] "aesthetics" mapping: x = Sepal.Length, y = Petal.Length geom_point: na.rm = FALSE stat_identity: na.rm = FALSE position_identity $problem.aes [1] "foo" $data.variables [1] "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" "Species" [1] "animation" [1] "compiler errors" mapping: x = letter, y = count, fill = stack, key = key, showSelected1 = facet geom_bar: width = NULL, na.rm = FALSE stat_identity: na.rm = FALSE position_stack [1] "geom line" [1] "plot named timexxx" [1] "plot names" [1] "geom_point(aes(fill=numeric))" [1] "compiler print" [1] "pt/points to lines conversion test" [1] "save separate chunks" [1] "selectors" [1] "stat_summary" [1] "compiler errors" [1] "compiler unlink previous" [ FAIL 8 | WARN 0 | SKIP 0 | PASS 738 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-compiler-facet-strips.r:32:3'): facet_wrap() builds correct output ── Error: Cannot create zero-length unit vector ("unit" subsetting) Backtrace: ▆ 1. ├─testthat::expect_equal(strip_layout(wrap), wrap_expected) at test-compiler-facet-strips.r:32:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─animint2 (local) strip_layout(wrap) 5. ├─animint2:::facet_render(...) at test-compiler-facet-strips.r:13:3 6. └─animint2:::facet_render.wrap(...) 7. ├─animint2:::facet_panels(facet, panel, coord, theme, geom_grobs) 8. └─animint2:::facet_panels.wrap(facet, panel, coord, theme, geom_grobs) 9. └─base::lapply(...) 10. └─animint2 (local) FUN(X[[i]], ...) 11. └─coord$render_bg(panel$ranges[[i]], theme) 12. └─animint2 (local) f(...) 13. └─animint2:::guide_grid(theme, x.minor, x.major, y.minor, y.major) 14. └─base::setdiff(x.minor, x.major) 15. ├─x[integer()] 16. └─grid:::`[.unit`(x, integer()) ── Error ('test-compiler-facet-strips.r:45:3'): facet_wrap() switches to 'x' ─── Error: Cannot create zero-length unit vector ("unit" subsetting) Backtrace: ▆ 1. ├─testthat::expect_equal(strip_layout(wrap_x), wrap_x_expected) at test-compiler-facet-strips.r:45:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─animint2 (local) strip_layout(wrap_x) 5. ├─animint2:::facet_render(...) at test-compiler-facet-strips.r:13:3 6. └─animint2:::facet_render.wrap(...) 7. ├─animint2:::facet_panels(facet, panel, coord, theme, geom_grobs) 8. └─animint2:::facet_panels.wrap(facet, panel, coord, theme, geom_grobs) 9. └─base::lapply(...) 10. └─animint2 (local) FUN(X[[i]], ...) 11. └─coord$render_bg(panel$ranges[[i]], theme) 12. └─animint2 (local) f(...) 13. └─animint2:::guide_grid(theme, x.minor, x.major, y.minor, y.major) 14. └─base::setdiff(x.minor, x.major) 15. ├─x[integer()] 16. └─grid:::`[.unit`(x, integer()) ── Error ('test-compiler-facet-strips.r:58:3'): facet_wrap() switches to 'y' ─── Error: Cannot create zero-length unit vector ("unit" subsetting) Backtrace: ▆ 1. ├─testthat::expect_equal(strip_layout(wrap_y), wrap_y_expected) at test-compiler-facet-strips.r:58:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─animint2 (local) strip_layout(wrap_y) 5. ├─animint2:::facet_render(...) at test-compiler-facet-strips.r:13:3 6. └─animint2:::facet_render.wrap(...) 7. ├─animint2:::facet_panels(facet, panel, coord, theme, geom_grobs) 8. └─animint2:::facet_panels.wrap(facet, panel, coord, theme, geom_grobs) 9. └─base::lapply(...) 10. └─animint2 (local) FUN(X[[i]], ...) 11. └─coord$render_bg(panel$ranges[[i]], theme) 12. └─animint2 (local) f(...) 13. └─animint2:::guide_grid(theme, x.minor, x.major, y.minor, y.major) 14. └─base::setdiff(x.minor, x.major) 15. ├─x[integer()] 16. └─grid:::`[.unit`(x, integer()) ── Error ('test-compiler-facet-strips.r:72:3'): facet_grid() builds correct output ── Error: Cannot create zero-length unit vector ("unit" subsetting) Backtrace: ▆ 1. ├─testthat::expect_equal(strip_layout(grid), grid_expected) at test-compiler-facet-strips.r:72:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─animint2 (local) strip_layout(grid) 5. ├─animint2:::facet_render(...) at test-compiler-facet-strips.r:13:3 6. └─animint2:::facet_render.grid(...) 7. ├─animint2:::facet_panels(facet, panel, coord, theme, geom_grobs) 8. └─animint2:::facet_panels.grid(facet, panel, coord, theme, geom_grobs) 9. └─base::lapply(...) 10. └─animint2 (local) FUN(X[[i]], ...) 11. └─coord$render_bg(panel$ranges[[i]], theme) 12. └─animint2 (local) f(...) 13. └─animint2:::guide_grid(theme, x.minor, x.major, y.minor, y.major) 14. └─base::setdiff(x.minor, x.major) 15. ├─x[integer()] 16. └─grid:::`[.unit`(x, integer()) ── Error ('test-compiler-facet-strips.r:85:3'): facet_grid() switches to 'x' ─── Error: Cannot create zero-length unit vector ("unit" subsetting) Backtrace: ▆ 1. ├─testthat::expect_equal(strip_layout(grid_x), grid_x_expected) at test-compiler-facet-strips.r:85:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─animint2 (local) strip_layout(grid_x) 5. ├─animint2:::facet_render(...) at test-compiler-facet-strips.r:13:3 6. └─animint2:::facet_render.grid(...) 7. ├─animint2:::facet_panels(facet, panel, coord, theme, geom_grobs) 8. └─animint2:::facet_panels.grid(facet, panel, coord, theme, geom_grobs) 9. └─base::lapply(...) 10. └─animint2 (local) FUN(X[[i]], ...) 11. └─coord$render_bg(panel$ranges[[i]], theme) 12. └─animint2 (local) f(...) 13. └─animint2:::guide_grid(theme, x.minor, x.major, y.minor, y.major) 14. └─base::setdiff(x.minor, x.major) 15. ├─x[integer()] 16. └─grid:::`[.unit`(x, integer()) ── Error ('test-compiler-facet-strips.r:98:3'): facet_grid() switches to 'y' ─── Error: Cannot create zero-length unit vector ("unit" subsetting) Backtrace: ▆ 1. ├─testthat::expect_equal(strip_layout(grid_y), grid_y_expected) at test-compiler-facet-strips.r:98:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─animint2 (local) strip_layout(grid_y) 5. ├─animint2:::facet_render(...) at test-compiler-facet-strips.r:13:3 6. └─animint2:::facet_render.grid(...) 7. ├─animint2:::facet_panels(facet, panel, coord, theme, geom_grobs) 8. └─animint2:::facet_panels.grid(facet, panel, coord, theme, geom_grobs) 9. └─base::lapply(...) 10. └─animint2 (local) FUN(X[[i]], ...) 11. └─coord$render_bg(panel$ranges[[i]], theme) 12. └─animint2 (local) f(...) 13. └─animint2:::guide_grid(theme, x.minor, x.major, y.minor, y.major) 14. └─base::setdiff(x.minor, x.major) 15. ├─x[integer()] 16. └─grid:::`[.unit`(x, integer()) ── Error ('test-compiler-facet-strips.r:111:3'): facet_grid() switches to both 'x' and 'y' ── Error: Cannot create zero-length unit vector ("unit" subsetting) Backtrace: ▆ 1. ├─testthat::expect_equal(strip_layout(grid_xy), grid_xy_expected) at test-compiler-facet-strips.r:111:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─animint2 (local) strip_layout(grid_xy) 5. ├─animint2:::facet_render(...) at test-compiler-facet-strips.r:13:3 6. └─animint2:::facet_render.grid(...) 7. ├─animint2:::facet_panels(facet, panel, coord, theme, geom_grobs) 8. └─animint2:::facet_panels.grid(facet, panel, coord, theme, geom_grobs) 9. └─base::lapply(...) 10. └─animint2 (local) FUN(X[[i]], ...) 11. └─coord$render_bg(panel$ranges[[i]], theme) 12. └─animint2 (local) f(...) 13. └─animint2:::guide_grid(theme, x.minor, x.major, y.minor, y.major) 14. └─base::setdiff(x.minor, x.major) 15. ├─x[integer()] 16. └─grid:::`[.unit`(x, integer()) ── Error ('test-compiler-ggsave.R:10:3'): ggsave creates file ────────────────── Error: Cannot create zero-length unit vector ("unit" subsetting) Backtrace: ▆ 1. └─animint2::ggsave(path, p, device = "pdf", width = 5, height = 5) at test-compiler-ggsave.R:10:3 2. ├─grid::grid.draw(plot) 3. └─animint2:::grid.draw.gganimintplot(plot) 4. ├─base::print(x) 5. └─animint2:::print.gganimintplot(x) 6. └─animint2::ggplot_gtable(data) 7. ├─animint2:::facet_render(...) 8. └─animint2:::facet_render.null(...) 9. └─coord$render_bg(range, theme) 10. └─animint2 (local) f(...) 11. └─animint2:::guide_grid(theme, x.minor, x.major, y.minor, y.major) 12. └─base::setdiff(x.minor, x.major) 13. ├─x[integer()] 14. └─grid:::`[.unit`(x, integer()) [ FAIL 8 | WARN 0 | SKIP 0 | PASS 738 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2024.1.24
Check: HTML version of manual
Result: NOTE Found the following HTML validation problems: stat_unique.html:110:1 (stat_unique.Rd:65): Warning: trimming empty <li> stat_unique.html:109:1 (stat_unique.Rd:65): Warning: trimming empty <ul> Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64