1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 19:41:49 +02:00

new AppVeyor environment

This commit is contained in:
2018-08-14 08:57:17 +02:00
parent e5193c7749
commit 7584c929a5
4 changed files with 35 additions and 3 deletions

View File

@ -1,6 +1,8 @@
context("atc.R")
test_that("atc_property works", {
skip_if(Sys.info()['sysname'] == "Windows") # security error on AppVeyor
if (!is.null(curl::nslookup("www.whocc.no", error = FALSE))) {
expect_equal(tolower(atc_property("J01CA04", property = "Name")), "amoxicillin")
expect_equal(atc_property("J01CA04", property = "unit"), "g")