* using log directory ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/downlit.Rcheck’ * using R Under development (unstable) (2025-07-15 r88411) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘downlit/DESCRIPTION’ ... OK * this is package ‘downlit’ version ‘0.4.4’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [1s/1s] OK * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘downlit’ can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/downlit-00install.html' for details. * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [0s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [7s/10s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [1s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [14s/23s] 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) ``() 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) ``() 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) ``() 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) ``() 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) ``() 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 * checking PDF version of manual ... [4s/5s] OK * checking HTML version of manual ... [0s/1s] OK * checking for non-standard things in the check directory ... OK * DONE Status: 1 ERROR