-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Description
Please see the problems shown on
https://cran.r-project.org/web/checks/check_results_htmltools.html.
Please correct before 2025-12-05 to safely retain your package on CRAN.
Version: 0.5.8.1
Check: tests
Result: ERROR
Running ‘test-all.R’ [21s/26s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> library(testthat)
> library(htmltools)
>
> test_check("htmltools")
Saving _problems/test-tag-query-128.R
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 10196 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• Chinese locale not available (2): 'test-tags.r:988:3', 'test-template.R:59:3'
• On CRAN (4): 'test-print.R:54:3', 'test-tag-query.R:705:1',
'test-tags.r:25:1', 'test-tags.r:1067:1'
• {knitr} is not installed (1): 'test-tags.r:1205:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-tag-query.R:123:3'): tagQuery()$find() ─────────────────────────
Error in `y$parent`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. ├─testthat::expect_failure(...) at test-tag-query.R:123:3
2. │ └─testthat:::capture_success_failure(expr)
3. │ └─base::withCallingHandlers(...)
4. └─htmltools:::expect_equal_tags(x$selectedTags(), newX$selectedTags())
5. └─htmltools (local) expect_equal_tags_(x, y) at ./helper-tags.R:25:3
6. └─base::Map(x, y, f = expect_equal_tags_) at ./helper-tags.R:16:7
7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
8. └─htmltools (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
9. └─htmltools (local) expect_equal_tags_(x$children, y$children) at ./helper-tags.R:12:7
10. └─base::Map(x, y, f = expect_equal_tags_) at ./helper-tags.R:16:7
11. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
12. └─htmltools (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
13. └─testthat::expect_equal(y$parent, NULL) at ./helper-tags.R:8:7
14. └─testthat::quasi_label(enquo(object), label)
15. └─rlang::eval_bare(expr, quo_get_env(quo))
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 10196 ]
Error:
! Test failures.
Execution halted
Flavor: [r-devel-linux-x86_64-debian-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/htmltools-00check.html)
Metadata
Metadata
Assignees
Labels
No labels