File: exclude_test_accessing_external_link.patch

package info (click to toggle)
r-cran-downlit 0.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 404 kB
  • sloc: sh: 14; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 13 Nov 2020 11:25:06 +0100
Description: Exclude test accessing internet

--- a/tests/testthat/test-link.R
+++ b/tests/testthat/test-link.R
@@ -247,10 +247,10 @@ 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"
-  )
+#  expect_equal(
+#    href_expr_(vignette("moveline")),
+#    "https://cran.rstudio.com/web/packages/grid/vignettes/moveline.pdf"
+#  )
 })
 
 test_that("fail gracefully with non-working calls", {