CRAN Package Check Results for Package styler

Last updated on 2021-09-23 08:51:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.1 10.86 339.45 350.31 OK
r-devel-linux-x86_64-debian-gcc 1.6.1 8.68 242.75 251.43 OK
r-devel-linux-x86_64-fedora-clang 1.6.1 392.16 OK
r-devel-linux-x86_64-fedora-gcc 1.6.1 391.22 OK
r-devel-windows-x86_64 1.6.1 12.00 311.00 323.00 OK
r-devel-windows-x86_64-gcc10-UCRT 1.6.1 ERROR
r-patched-linux-x86_64 1.6.1 11.56 322.80 334.36 OK
r-patched-solaris-x86 1.6.1 444.10 OK
r-release-linux-x86_64 1.6.1 11.18 324.07 335.25 OK
r-release-macos-arm64 1.5.1 OK
r-release-macos-x86_64 1.6.1 OK
r-release-windows-ix86+x86_64 1.6.1 16.00 319.00 335.00 OK
r-oldrel-macos-x86_64 1.6.1 OK
r-oldrel-windows-ix86+x86_64 1.6.1 15.00 285.00 300.00 OK

Check Details

Version: 1.6.1
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'roxygen2'
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.6.1
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: 'roxygen2'
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.6.1
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(styler)
     >
     > test_check("styler")
     In tests/testthat/helpers-devel-options: Deactivated cache.
     Styling 1 files:
     C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\styler\tmp\RtmpsLFyAl\file2ec41c2b1624.R i
     --------------------------------------------------------------------------------
     Status Count Legend
     v 0 File unchanged.
     i 1 File changed.
     x 0 Styling threw an error.
     --------------------------------------------------------------------------------
     Please review the changes carefully!
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • DiagrammeR cannot be loaded (3)
     • On CRAN (8)
     • skip on R >= 3.2 because parsing probmes don't appear (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-cache-high-level-api.R:51:3): trailing line breaks are ignored for caching ──
     Error: To style roxygen code examples, you need to have the package `{roxygen2}` installed. To exclude them from styling, set `include_roxygen_examples = FALSE`.
     Backtrace:
     █
     1. ├─styler::style_text(text1) test-cache-high-level-api.R:51:2
     2. │ └─styler:::transformer(text)
     3. │ └─`%>%`(...)
     4. └─purrr::when(...)
     5. └─base::eval(dots[[i]][[action]], env, env)
     6. └─base::eval(dots[[i]][[action]], env, env)
     7. └─styler:::parse_transform_serialize_roxygen(...)
     ── Error (test-cache-high-level-api.R:63:3): trailing line breaks are ignored for caching in one scalar ──
     Error: To style roxygen code examples, you need to have the package `{roxygen2}` installed. To exclude them from styling, set `include_roxygen_examples = FALSE`.
     Backtrace:
     █
     1. ├─styler::style_text(text1) test-cache-high-level-api.R:63:2
     2. │ └─styler:::transformer(text)
     3. │ └─`%>%`(...)
     4. └─purrr::when(...)
     5. └─base::eval(dots[[i]][[action]], env, env)
     6. └─base::eval(dots[[i]][[action]], env, env)
     7. └─styler:::parse_transform_serialize_roxygen(...)
     ── Error (test-cache-high-level-api.R:78:3): trailing line breaks are ignored for caching in one scalar ──
     Error: To style roxygen code examples, you need to have the package `{roxygen2}` installed. To exclude them from styling, set `include_roxygen_examples = FALSE`.
     Backtrace:
     █
     1. ├─styler::style_text(text1) test-cache-high-level-api.R:78:2
     2. │ └─styler:::transformer(text)
     3. │ └─`%>%`(...)
     4. └─purrr::when(...)
     5. └─base::eval(dots[[i]][[action]], env, env)
     6. └─base::eval(dots[[i]][[action]], env, env)
     7. └─styler:::parse_transform_serialize_roxygen(...)
     ── Error (test-cache-high-level-api.R:182:3): avoid removing roxygen mask (see commit messages in #584) ──
     Error: To style roxygen code examples, you need to have the package `{roxygen2}` installed. To exclude them from styling, set `include_roxygen_examples = FALSE`.
     Backtrace:
     █
     1. ├─testthat::expect_equal(as.character(style_text(text2)), text2) test-cache-high-level-api.R:182:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─styler::style_text(text2)
     5. │ └─styler:::transformer(text)
     6. │ └─`%>%`(...)
     7. └─purrr::when(...)
     8. └─base::eval(dots[[i]][[action]], env, env)
     9. └─base::eval(dots[[i]][[action]], env, env)
     10. └─styler:::parse_transform_serialize_roxygen(...)
     ── Error (test-cache-interaction-roxygen-code-examples.R:14:3): roxzgen code examples are written to cache as both individual expressions and as whole text ──
     Error: To style roxygen code examples, you need to have the package `{roxygen2}` installed. To exclude them from styling, set `include_roxygen_examples = FALSE`.
     Backtrace:
     █
     1. ├─styler::style_text(text) test-cache-interaction-roxygen-code-examples.R:14:2
     2. │ └─styler:::transformer(text)
     3. │ └─`%>%`(...)
     4. └─purrr::when(...)
     5. └─base::eval(dots[[i]][[action]], env, env)
     6. └─base::eval(dots[[i]][[action]], env, env)
     7. └─styler:::parse_transform_serialize_roxygen(...)
     ── Error (test-cache-with-r-cache.R:32:3): top-level test: Caches top-level expressions efficiently on style_text() ──
     Error: To style roxygen code examples, you need to have the package `{roxygen2}` installed. To exclude them from styling, set `include_roxygen_examples = FALSE`.
     Backtrace:
     █
     1. ├─base::system.time(text_styled <- as.character(style_text(text))) test-cache-with-r-cache.R:32:2
     2. ├─styler::style_text(text)
     3. │ └─styler:::transformer(text)
     4. │ └─`%>%`(...)
     5. └─purrr::when(...)
     6. └─base::eval(dots[[i]][[action]], env, env)
     7. └─base::eval(dots[[i]][[action]], env, env)
     8. └─styler:::parse_transform_serialize_roxygen(...)
     ── Error (test-escaping.R:2:3): escaping of characters works ───────────────────
     Error: To style roxygen code examples, you need to have the package `{roxygen2}` installed. To exclude them from styling, set `include_roxygen_examples = FALSE`.
     Backtrace:
     █
     1. ├─testthat::expect_warning(...) test-escaping.R:2:2
     2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
     3. │ ├─testthat:::.capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─styler:::test_collection("escaping", "basic", transformer = style_text)
     7. │ └─purrr::pwalk(...)
     8. │ └─purrr::pmap(.l, .f, ...)
     9. │ └─styler:::.f(...)
     10. │ └─read_in %>% transformer(...) %>% unclass()
     11. ├─styler:::transformer(., ...)
     12. │ └─styler:::transformer(text)
     13. │ └─`%>%`(...)
     14. └─purrr::when(...)
     15. └─base::eval(dots[[i]][[action]], env, env)
     16. └─base::eval(dots[[i]][[action]], env, env)
     17. └─styler:::parse_transform_serialize_roxygen(...)
     ── Error (test-roxygen-examples-complete.R:4:3): analogous to test-roxygen-examples-complete ──
     Error: To style roxygen code examples, you need to have the package `{roxygen2}` installed. To exclude them from styling, set `include_roxygen_examples = FALSE`.
     Backtrace:
     █
     1. ├─testthat::expect_warning(...) test-roxygen-examples-complete.R:4:2
     2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
     3. │ ├─testthat:::.capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─styler:::test_collection(...)
     7. │ └─purrr::pwalk(...)
     8. │ └─purrr::pmap(.l, .f, ...)
     9. │ └─styler:::.f(...)
     10. │ └─read_in %>% transformer(...) %>% unclass()
     11. ├─styler:::transformer(., ...)
     12. │ └─styler:::transformer(text)
     13. │ └─`%>%`(...)
     14. └─purrr::when(...)
     15. └─base::eval(dots[[i]][[action]], env, env)
     16. └─base::eval(dots[[i]][[action]], env, env)
     17. └─styler:::parse_transform_serialize_roxygen(...)
     ── Error (test-roxygen-examples-parse.R:153:3): braces examples can be parsed ──
     Error: there is no package called 'roxygen2'
     Backtrace:
     █
     1. ├─testthat::expect_equal(...) test-roxygen-examples-parse.R:153:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─styler:::parse_roxygen(...)
     5. │ └─styler:::emulate_rd(roxygen)
     6. │ └─`%>%`(...)
     7. └─base::loadNamespace(x)
     8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     9. └─base:::withOneRestart(expr, restarts[[1L]])
     10. └─base:::doWithOneRestart(return(expr), restart)
    
     [ FAIL 9 | WARN 3 | SKIP 12 | PASS 453 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.6.1
Check: PDF version of manual
Result: WARN
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.6.1
Check: PDF version of manual without hyperrefs or index
Result: ERROR
    Re-running with no redirection of stdout/stderr.
Flavor: r-devel-windows-x86_64-gcc10-UCRT