Skip to content

Commit

Permalink
test: skip add_gg_to_body test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
elipousson committed Aug 26, 2023
1 parent 28ffdbf commit f491277
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testthat/test-add_to_body.R
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
test_that("add_to_body works", {
skip_on_ci()

docx_example <- read_docx_ext(
filename = "example.docx",
path = system.file("doc_examples", package = "officer")
)

expect_error(add_to_body(docx_example))

skip_on_ci()

docx_text <- add_text_to_body(
docx_example,
value = "ABCDEFG",
Expand Down Expand Up @@ -65,6 +65,8 @@ test_that("add_gt_to_body works", {
})

test_that("add_gg_to_body works", {
skip_on_ci()

docx <- read_docx_ext(
filename = "example.docx",
path = system.file("doc_examples", package = "officer")
Expand Down

0 comments on commit f491277

Please sign in to comment.