1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 18:46:11 +01:00

testthat error

This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-08-14 12:00:01 +02:00
parent 533342583a
commit b0995362af

View File

@ -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")