mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 20:06:11 +01:00
new AppVeyor environment
This commit is contained in:
parent
e5193c7749
commit
7584c929a5
5
NEWS.md
5
NEWS.md
@ -63,8 +63,9 @@
|
|||||||
* Other small fixes
|
* Other small fixes
|
||||||
|
|
||||||
#### Other
|
#### Other
|
||||||
* Unit testing for all Linux and macOS releases of R 3.1 and higher: https://travis-ci.org/msberends/AMR
|
* Added integration tests (check if everything works as expected) for all releases of R 3.1 and higher
|
||||||
* Added units tests for Windows with AppVeyor
|
* Linux and macOS: https://travis-ci.org/msberends/AMR
|
||||||
|
* Windows: https://ci.appveyor.com/project/msberends/amr
|
||||||
* Added thesis advisors to DESCRIPTION file
|
* Added thesis advisors to DESCRIPTION file
|
||||||
|
|
||||||
# 0.2.0 (latest stable version)
|
# 0.2.0 (latest stable version)
|
||||||
|
@ -70,7 +70,7 @@ With the `MDRO` function (abbreviation of Multi Drug Resistant Organisms), you c
|
|||||||
This package [is published on CRAN](http://cran.r-project.org/package=AMR), the official R network.
|
This package [is published on CRAN](http://cran.r-project.org/package=AMR), the official R network.
|
||||||
|
|
||||||
### Install from CRAN
|
### Install from CRAN
|
||||||
[![CRAN_Badge](https://img.shields.io/cran/v/AMR.svg?label=CRAN&colorB=3679BC)](http://cran.r-project.org/package=AMR) [![CRAN_Downloads](https://cranlogs.r-pkg.org/badges/grand-total/AMR)](http://cran.r-project.org/package=AMR)
|
[![CRAN_Badge](https://www.r-pkg.org/badges/version/dplyr)](http://cran.r-project.org/package=AMR) [![CRAN_Downloads](https://cranlogs.r-pkg.org/badges/grand-total/AMR)](http://cran.r-project.org/package=AMR)
|
||||||
|
|
||||||
(Note: Downloads measured only by [cran.rstudio.com](https://cran.rstudio.com/package=AMR), this excludes e.g. the official [cran.r-project.org](https://cran.r-project.org/package=AMR))
|
(Note: Downloads measured only by [cran.rstudio.com](https://cran.rstudio.com/package=AMR), this excludes e.g. the official [cran.r-project.org](https://cran.r-project.org/package=AMR))
|
||||||
|
|
||||||
|
29
appveyor.yml
29
appveyor.yml
@ -15,6 +15,35 @@ cache:
|
|||||||
|
|
||||||
# Adapt as necessary starting from here
|
# Adapt as necessary starting from here
|
||||||
|
|
||||||
|
environment:
|
||||||
|
global:
|
||||||
|
R_ARCH: x64
|
||||||
|
GCC_PATH: mingw_64
|
||||||
|
WARNINGS_ARE_ERRORS: 1
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
- R_VERSION: 3.1
|
||||||
|
WARNINGS_ARE_ERRORS: 0
|
||||||
|
|
||||||
|
- R_VERSION: 3.2
|
||||||
|
|
||||||
|
- R_VERSION: 3.3
|
||||||
|
|
||||||
|
- R_VERSION: 3.4
|
||||||
|
|
||||||
|
- R_VERSION: release
|
||||||
|
|
||||||
|
- R_VERSION: devel
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
- provider: Email
|
||||||
|
to: m.s.berends@umcg.nl
|
||||||
|
subject: 'AppVeyor: status changed'
|
||||||
|
message: The status of https://ci.appveyor.com/project/msberends/amr has changed.
|
||||||
|
on_build_success: false
|
||||||
|
on_build_failure: false
|
||||||
|
on_build_status_changed: true
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- travis-tool.sh install_deps
|
- travis-tool.sh install_deps
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
context("atc.R")
|
context("atc.R")
|
||||||
|
|
||||||
test_that("atc_property works", {
|
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))) {
|
if (!is.null(curl::nslookup("www.whocc.no", error = FALSE))) {
|
||||||
expect_equal(tolower(atc_property("J01CA04", property = "Name")), "amoxicillin")
|
expect_equal(tolower(atc_property("J01CA04", property = "Name")), "amoxicillin")
|
||||||
expect_equal(atc_property("J01CA04", property = "unit"), "g")
|
expect_equal(atc_property("J01CA04", property = "unit"), "g")
|
||||||
|
Loading…
Reference in New Issue
Block a user