Skip to content

Commit

Permalink
added skip_on_cran to quickSetupOxcal test
Browse files Browse the repository at this point in the history
Request part 2 of the call to design the download process according to the CRAN policies.
  • Loading branch information
MartinHinz committed Jul 2, 2021
1 parent 2578090 commit 3cd31e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test_utility_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ test_that("setOxcalExecutablePath complains when file does not exists",{

context("quickSetupOxcal")
test_that("quickSetupOxcal downloads oxcal and sets correct path",{
skip_on_cran()
expect_error(quickSetupOxcal(), NA)
expect_true(dir.exists(paste0(tempdir(), "/OxCal/bin/")))
expect_true(basename(options("oxcAAR.oxcal_path")[[1]]) %in% c("OxCalLinux",
Expand Down

0 comments on commit 3cd31e0

Please sign in to comment.