Skip to content

Commit

Permalink
Merge pull request #433 from nanxstats/master
Browse files Browse the repository at this point in the history
Improve offline testing
  • Loading branch information
ycphs authored Jan 23, 2024
2 parents c01ea6d + ebe8d55 commit ee4784e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-read_sources.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ context("Read Sources")


test_that("read.xlsx from different sources", {
skip_if_offline()

## URL
xlsxFile <- "https://github.com/ycphs/openxlsx/raw/master/inst/extdata/readTest.xlsx"
Expand All @@ -34,6 +35,7 @@ test_that("read.xlsx from different sources", {


test_that("loadWorkbook from different sources", {
skip_if_offline()

## URL
xlsxFile <- "https://github.com/ycphs/openxlsx/raw/master/inst/extdata/readTest.xlsx"
Expand All @@ -50,6 +52,7 @@ test_that("loadWorkbook from different sources", {


test_that("getDateOrigin from different sources", {
skip_if_offline()

## URL
xlsxFile <- "https://github.com/ycphs/openxlsx/raw/master/inst/extdata/readTest.xlsx"
Expand Down

0 comments on commit ee4784e

Please sign in to comment.