CRAN Package Check Results for Package typr

Last updated on 2025-05-07 05:50:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.1 1.50 28.53 30.03 OK
r-devel-linux-x86_64-debian-gcc 0.0.1 1.53 33.90 35.43 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.1 48.76 OK
r-devel-linux-x86_64-fedora-gcc 0.0.1 45.01 OK
r-devel-windows-x86_64 0.0.1 3.00 52.00 55.00 OK
r-patched-linux-x86_64 0.0.1 1.83 26.47 28.30 OK
r-release-linux-x86_64 0.0.1 1.85 26.69 28.54 OK
r-release-macos-arm64 0.0.1 18.00 OK
r-release-macos-x86_64 0.0.1 26.00 OK
r-release-windows-x86_64 0.0.1 3.00 54.00 57.00 OK
r-oldrel-macos-arm64 0.0.1 21.00 OK
r-oldrel-macos-x86_64 0.0.1 36.00 OK
r-oldrel-windows-x86_64 0.0.1 3.00 60.00 63.00 OK

Check Details

Version: 0.0.1
Check: examples
Result: ERROR Running examples in ‘typr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: typr_query > ### Title: Query within a Typst file > ### Aliases: typr_query > > ### ** Examples > > ## Don't show: > if (has_any_typst()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + tf <- fs::file_temp(ext = 'typ') + writeLines(text = '= test <lbl>', con = tf) + typr_query(input = tf, selector = '<lbl>') + ## Don't show: + }) # examplesIf > tf <- fs::file_temp(ext = "typ") > writeLines(text = "= test <lbl>", con = tf) > typr_query(input = tf, selector = "<lbl>") Error: parse error: premature EOF (right here) ------^ Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/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(typr) > > test_check('typr') Error in skip_if_no_internet("github.com") : object 'sitr' not found Typst watch process started. Run `typr_watch_stop()` to stop the process. Stopping previous Typst watch process... [ FAIL 1 | WARN 0 | SKIP 1 | PASS 13 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • No internet connection (1): 'test-init.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-query.R:4:3'): typr_query works ──────────────────────────────── Error: parse error: premature EOF (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_true(is.list(typr_query("../test.typ", "<my-sec>"))) at test-query.R:4:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─typr::typr_query("../test.typ", "<my-sec>") 5. └─jsonlite::fromJSON(txt = out, simplifyVector = TRUE) 6. └─jsonlite:::parse_and_simplify(...) 7. └─jsonlite:::parseJSON(txt, bigint_as_char) 8. └─jsonlite:::parse_string(txt, bigint_as_char) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 13 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc