mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 18:46:11 +01:00
testthat error
This commit is contained in:
parent
533342583a
commit
b0995362af
@ -1,9 +1,9 @@
|
||||
context("atc.R")
|
||||
|
||||
test_that("atc_property works", {
|
||||
skip() # relies on internet connection of server, don't test
|
||||
skip_on_travis() # relies on internet connection of server, don't test
|
||||
|
||||
skip_if(Sys.info()['sysname'] == "Windows") # security error on AppVeyor
|
||||
skip_on_appveyor() # security error on AppVeyor
|
||||
|
||||
if (!is.null(curl::nslookup("www.whocc.no", error = FALSE))) {
|
||||
expect_equal(tolower(atc_property("J01CA04", property = "Name")), "amoxicillin")
|
||||
|
Loading…
Reference in New Issue
Block a user