ports/textproc/R-cran-downlit/files/patch-tests_testthat_test-link.R
Zsolt Udvari ad83ddc0b4 textproc/R-cran-downlit: new port, Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of
'RMarkdown' packages like 'pkgdown', 'hugodown', and 'bookdown'. It includes
linking of function calls to their documentation on the web, and automatic
translation of ANSI escapes in output to the equivalent HTML.

The math/R doesn't ship grid library's vignette so should remove one
test.

This port is needed to update of devel/R-cran-devtools.
2024-08-13 07:42:15 +02:00

13 lines
461 B
R

--- tests/testthat/test-link.R.orig 2024-08-13 05:33:03 UTC
+++ tests/testthat/test-link.R
@@ -217,10 +217,6 @@ test_that("looks in attached packages", {
href_expr_(vignette("sha1")),
"https://cran.rstudio.com/web/packages/digest/vignettes/sha1.html"
)
- expect_equal(
- href_expr_(vignette("moveline")),
- "https://cran.rstudio.com/web/packages/grid/vignettes/moveline.pdf"
- )
})
test_that("fail gracefully with non-working calls", {