CRAN Package Check Results for Package downlit

Last updated on 2025-07-20 08:49:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.4 3.50 45.34 48.84 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.4 2.64 31.73 34.37 OK
r-devel-linux-x86_64-fedora-clang 0.4.4 65.24 OK
r-devel-linux-x86_64-fedora-gcc 0.4.4 65.20 OK
r-devel-windows-x86_64 0.4.4 5.00 63.00 68.00 OK
r-patched-linux-x86_64 0.4.4 3.85 38.14 41.99 OK
r-release-linux-x86_64 0.4.4 3.44 38.52 41.96 OK
r-release-macos-arm64 0.4.4 50.00 OK
r-release-macos-x86_64 0.4.4 87.00 OK
r-release-windows-x86_64 0.4.4 5.00 62.00 67.00 OK
r-oldrel-macos-arm64 0.4.4 38.00 OK
r-oldrel-macos-x86_64 0.4.4 74.00 OK
r-oldrel-windows-x86_64 0.4.4 7.00 72.00 79.00 OK

Check Details

Version: 0.4.4
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/23s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(downlit) > > test_check("downlit") [ FAIL 5 | WARN 0 | SKIP 28 | PASS 110 ] ══ Skipped tests (28) ══════════════════════════════════════════════════════════ • On CRAN (24): 'test-article-index.R:30:3', 'test-downlit-html.R:6:3', 'test-downlit-html.R:24:3', 'test-downlit-html.R:31:3', 'test-downlit-md.R:8:3', 'test-evaluate.R:2:3', 'test-evaluate.R:6:3', 'test-evaluate.R:11:3', 'test-evaluate.R:21:3', 'test-evaluate.R:28:3', 'test-evaluate.R:34:3', 'test-evaluate.R:56:3', 'test-evaluate.R:64:3', 'test-highlight.R:7:3', 'test-highlight.R:52:3', 'test-highlight.R:78:3', 'test-highlight.R:122:3', 'test-highlight.R:134:3', 'test-link.R:140:3', 'test-link.R:179:3', 'test-link.R:189:3', 'test-metadata.R:3:3', 'test-topic-index.R:12:3', 'test-topic-index.R:22:3' • rmarkdown::pandoc_version() < "2.10" is not TRUE (1): 'test-downlit-md.R:32:3' • rmarkdown::pandoc_version() < "2.11" is not TRUE (1): 'test-downlit-md.R:44:3' • {ggraph} is not installed (1): 'test-packages.R:50:3' • {tidyverse} is not installed (1): 'test-packages.R:55:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-downlit-md.R:62:3'): Special package string gets linked ──────── Error in `readRDS(con)`: error reading from connection Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-downlit-md.R:62:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─downlit::downlit_md_string("`{thisisrealltnotapackagename}`") 5. └─downlit::downlit_md_path(path, path, format = format) 6. └─downlit:::transform_code(ast$blocks, ast_version(ast)) 7. └─base::lapply(x, transform_code, version = version) 8. └─downlit (local) FUN(X[[i]], ...) 9. └─base::lapply(x$c, transform_code, version = version) 10. └─downlit (local) FUN(X[[i]], ...) 11. └─downlit::href_package(package_name) 12. └─downlit:::package_urls(package) 13. ├─downlit:::CRAN_urls() 14. │ ├─base::withVisible(eval(mc, parent.frame())) 15. │ └─base::eval(mc, parent.frame()) 16. │ └─base::eval(mc, parent.frame()) 17. └─downlit (local) `<fn>`() 18. └─tools::CRAN_package_db() 19. ├─base::as.data.frame(...) 20. └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds") 21. └─base::readRDS(con) ── Error ('test-link.R:63:3'): can link to package names in registered packages ── Error in `readRDS(con)`: error reading from connection Backtrace: ▆ 1. ├─testthat::expect_equal(autolink_curly("{package}"), NA_character_) at test-link.R:63:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─downlit:::autolink_curly("{package}") 5. └─downlit::href_package(package_name) 6. └─downlit:::package_urls(package) 7. ├─downlit:::CRAN_urls() 8. │ ├─base::withVisible(eval(mc, parent.frame())) 9. │ └─base::eval(mc, parent.frame()) 10. │ └─base::eval(mc, parent.frame()) 11. └─downlit (local) `<fn>`() 12. └─tools::CRAN_package_db() 13. ├─base::as.data.frame(...) 14. └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds") 15. └─base::readRDS(con) ── Error ('test-link.R:151:3'): except when not possible ─────────────────────── Error in `readRDS(con)`: error reading from connection Backtrace: ▆ 1. ├─testthat::expect_equal(href_expr_(library(doesntexist)), topic_library) at test-link.R:151:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─downlit:::href_expr_(library(doesntexist)) 5. └─downlit:::href_expr(substitute(expr), ...) 6. └─downlit::href_package(pkg) 7. └─downlit:::package_urls(package) 8. ├─downlit:::CRAN_urls() 9. │ ├─base::withVisible(eval(mc, parent.frame())) 10. │ └─base::eval(mc, parent.frame()) 11. │ └─base::eval(mc, parent.frame()) 12. └─downlit (local) `<fn>`() 13. └─tools::CRAN_package_db() 14. ├─base::as.data.frame(...) 15. └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds") 16. └─base::readRDS(con) ── Error ('test-link.R:248:3'): href_package can handle non-existing packages ── Error in `readRDS(con)`: error reading from connection Backtrace: ▆ 1. ├─testthat::expect_equal(href_package("NotAPackage"), NA_character_) at test-link.R:248:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─downlit::href_package("NotAPackage") 5. └─downlit:::package_urls(package) 6. ├─downlit:::CRAN_urls() 7. │ ├─base::withVisible(eval(mc, parent.frame())) 8. │ └─base::eval(mc, parent.frame()) 9. │ └─base::eval(mc, parent.frame()) 10. └─downlit (local) `<fn>`() 11. └─tools::CRAN_package_db() 12. ├─base::as.data.frame(...) 13. └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds") 14. └─base::readRDS(con) ── Error ('test-metadata.R:16:3'): can extract urls for uninstalled packages from CRAN ── Error in `readRDS(con)`: error reading from connection Backtrace: ▆ 1. ├─testthat::expect_equal(package_urls("rlang"), rlang_urls) at test-metadata.R:16:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─downlit:::package_urls("rlang") 5. ├─downlit:::CRAN_urls() 6. │ ├─base::withVisible(eval(mc, parent.frame())) 7. │ └─base::eval(mc, parent.frame()) 8. │ └─base::eval(mc, parent.frame()) 9. └─downlit (local) `<fn>`() 10. └─tools::CRAN_package_db() 11. ├─base::as.data.frame(...) 12. └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds") 13. └─base::readRDS(con) [ FAIL 5 | WARN 0 | SKIP 28 | PASS 110 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang