Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
arnfinn committed Jun 4, 2024
1 parent 8a8ba58 commit 8e80c68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-tinytex@v2
- run: tlmgr --version

- name: Db unit tests in ubuntu/linux only
if: runner.os != 'Windows'
Expand Down
8 changes: 2 additions & 6 deletions tests/testthat/test-renderRmd.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ test_that("Rmd source can be rendered", {
logoFile <- system.file("template/logo.png", package = "rapbase")
expect_true(file.exists(renderRmd(sourceFile)))
expect_true("html" %in%
class(renderRmd(sourceFile, outputType = "html_fragment")))
# expect_true(file.exists(renderRmd(sourceFile,
# outputType = "pdf",
# logoFile = logoFile,
# params = list(reglogo = "logo")
# )))
class(renderRmd(sourceFile,outputType = "html_fragment"))
)
expect_error(renderRmd(sourceFile, outputType = "beamer"))
expect_error(renderRmd(sourceFile = "noneExistingFile.Rmd"))
})

0 comments on commit 8e80c68

Please sign in to comment.