CRAN Package Check Results for Package piecepackr

Last updated on 2026-06-07 02:50:31 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.16.1 21.62 362.44 384.06 OK
r-devel-linux-x86_64-debian-gcc 1.16.1 13.41 218.11 231.52 ERROR
r-devel-linux-x86_64-fedora-clang 1.16.1 42.00 619.58 661.58 OK
r-devel-linux-x86_64-fedora-gcc 1.16.1 37.00 590.69 627.69 OK
r-devel-windows-x86_64 1.16.1 27.00 319.00 346.00 OK
r-patched-linux-x86_64 1.16.1 19.43 355.21 374.64 OK
r-release-linux-x86_64 1.16.1 19.50 352.05 371.55 OK
r-release-macos-arm64 1.16.1 5.00 90.00 95.00 OK
r-release-macos-x86_64 1.16.1 15.00 359.00 374.00 OK
r-release-windows-x86_64 1.16.1 23.00 307.00 330.00 OK
r-oldrel-macos-arm64 1.16.1 5.00 84.00 89.00 OK
r-oldrel-macos-x86_64 1.16.1 15.00 292.00 307.00 OK
r-oldrel-windows-x86_64 1.16.1 33.00 436.00 469.00 OK

Check Details

Version: 1.16.1
Check: tests
Result: ERROR Running ‘run-all.R’ [130s/143s] Running the tests in ‘tests/run-all.R’ failed. Complete output: > library("testthat", quietly = TRUE) > > test_check("piecepackr") Loading required package: piecepackr Saving _problems/test-game_systems-440.R Saving _problems/test-pieceGrob-115.R Saving _problems/test-pieceGrob-224.R Attaching package: 'rayrender' The following objects are masked from 'package:rayvertex': r_obj, run_documentation The following object is masked from 'package:grid': arrow The following object is masked from 'package:ggplot2': arrow Saving _problems/test-render_piece-79.R [ FAIL 4 | WARN 3 | SKIP 15 | PASS 203 ] ══ Skipped tests (15) ══════════════════════════════════════════════════════════ • On CRAN (14): 'test-crop_marks.R:1:1', 'test-crosshairs.R:1:1', 'test-game_systems.R:6:1', 'test-geom_piece.R:1:1', 'test-obj.R:23:2', 'test-obj.R:103:2', 'test-obj.R:124:2', 'test-op_transform.R:2:1', 'test-pieceGrob.R:28:2', 'test-pieceGrob.R:87:1', 'test-pieceGrob.R:428:1', 'test-pieceGrob.R:438:2', 'test-pp_shape.R:2:1', 'test-utils.R:9:1' • Sys.info()[["nodename"]] == "pesd-tld-laptop" is not TRUE (1): 'test-pieceGrob.R:523:2' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-game_systems.R:440:3'): no regressions in `game_systems()` figures ── Error: cannot open stream /tmp/RtmpZaGQ2p/dominoes-chinese33394b4bcb172e.svg Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-game_systems.R:580:9 2. └─piecepackr (local) writer(fig, testcase, title) 3. └─svglite::svglite(file) at test-game_systems.R:440:17 4. └─svglite:::svglite_(...) ── Error ('test-pieceGrob.R:115:2'): `save_piece_images()` works as expected ─── Error in `(function (filename = if (onefile) "Rplots.svg" else "Rplot%03d.svg", width = 7, height = 7, pointsize = 12, onefile = FALSE, family = "sans", bg = "white", antialias = c("default", "none", "gray", "subpixel"), symbolfamily) { if (!checkIntFormat(filename)) stop("invalid 'filename'") if (!capabilities("cairo")) stop("svg: Cairo-based devices are not available for this platform") antialiases <- eval(formals()$antialias) antialias <- match(match.arg(antialias, antialiases), antialiases) if (missing(symbolfamily)) symbolfamily <- symbolfamilyDefault(family) invisible(.External(C_devCairo, filename, 4L, 72 * width, 72 * height, pointsize, bg, NA_integer_, antialias, onefile, family, 300, checkSymbolFont(symbolfamily))) })(filename = "/tmp/RtmpZaGQ2p/file33394b7afd539c/tile_face_s1_r6_t0.svgz", width = 2, height = 2, bg = "transparent")`: unable to start device 'svg' Backtrace: ▆ 1. └─piecepackr::save_piece_images(...) at test-pieceGrob.R:115:9 2. └─piecepackr:::make_images_helper(directory, cfg, f, a) 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. └─piecepackr:::piece_device(f, cs, cfg, angle, rank = rank) 6. └─piecepackr:::pp_device(filename, width, height, res, bg = "transparent") 7. ├─base::do.call(dev_fn, args) 8. └─grDevices (local) `<fn>`(...) ── Error ('test-pieceGrob.R:222:2'): no regressions in figures ───────────────── Error: cannot open stream /tmp/RtmpZaGQ2p/coin-face-r4convex833394b49241adc.svg Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-pieceGrob.R:222:9 2. └─vdiffr (local) writer(fig, testcase, title) 3. └─vdiffr:::svglite(file) 4. └─vdiffr:::svglite_(...) ── Error ('test-render_piece.R:69:2'): render_piece() works ──────────────────── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::pmap(.l, .f, ..., envir = envir, draw = FALSE)`: i In index: 6. Caused by error in `file()`: ! cannot open the connection Backtrace: ▆ 1. ├─piecepackr::render_piece(...) at test-render_piece.R:69:9 2. │ └─piecepackr (local) fn(df, ...) 3. │ └─piecepackr::pmap_piece(df, piece, ..., envir = envir) 4. │ └─purrr::pmap(.l, .f, ..., envir = envir, draw = FALSE) 5. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress) 6. │ ├─purrr:::with_indexed_errors(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ ├─purrr:::call_with_cleanup(...) 9. │ └─piecepackr (local) .f(...) 10. │ └─base::lapply(...) 11. │ └─piecepackr (local) FUN(X[[i]], ...) 12. │ └─cfg[[i]]$rayrender(...) 13. │ ├─base::do.call(rayrender_fn, args) 14. │ └─piecepackr (local) `<fn>`(...) 15. │ └─piecepackr::save_piece_obj(...) 16. │ └─base::lapply(...) 17. │ └─piecepackr (local) FUN(X[[i]], ...) 18. │ └─piecepackr:::save_piece_obj_helper(...) 19. │ └─cfg$save_obj(...) 20. │ ├─base::do.call(obj_fn, args) 21. │ └─piecepackr (local) `<fn>`(...) 22. │ └─piecepackr:::write_obj(filename, v = xyz, vt = vt, f = f) 23. │ └─base::cat(...) 24. │ └─base::file(file, ifelse(append, "a", "w")) 25. └─base::.handleSimpleError(...) 26. └─purrr (local) h(simpleError(msg, call)) 27. └─cli::cli_abort(...) 28. └─rlang::abort(...) [ FAIL 4 | WARN 3 | SKIP 15 | PASS 203 ] Deleting unused snapshots: 'game_systems/cubes.svg', 'game_systems/king-of-stars-fill-stroke.svg', 'game_systems/marbles-shading.svg', 'pieceGrob/belt-face-s1.svg', 'pieceGrob/coin-face-op.svg', 'pieceGrob/coin-face-r4concave8.svg', 'pieceGrob/coin-face-r4oval.svg', 'pieceGrob/diagram-op-ppgf.svg', 'pieceGrob/diagram-op.svg', 'pieceGrob/die-face-op-roundrect.svg', 'pieceGrob/die-face-op.svg', 'pieceGrob/die-face-s2-r5-convex5mat.svg', 'pieceGrob/die-face-s2-r5-kite.svg', 'pieceGrob/die-face-s2-r5.svg', 'pieceGrob/die-face-s3-r2.svg', 'pieceGrob/die-face-s4-r1.svg', 'pieceGrob/die-layoutrf-opposites-sum-to-5.svg', 'pieceGrob/matchstick-back-s3-r6.svg', …, 'pieceGrob/tile-face-op-roundrect.svg', and 'pieceGrob/tile-face-op.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc