From da60f2787727730d596a84c8981a76fc897a7bc9 Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Tue, 25 Sep 2018 00:36:35 +0200 Subject: [PATCH] travis cant find knitr vignette builder --- .travis.yml | 3 ++- tests/testthat/test-mo_property.R | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fec8dd4a..2d91175c 100755 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,8 @@ before_install: - if [ $TRAVIS_OS_NAME = osx ]; then brew install libgit2; fi install: - - if [ $TRAVIS_OS_NAME = osx ]; then Rscript -e "install.packages('devtools')"; fi + - Rscript -e "install.packages('devtools')" + - Rscript -e "install.packages('knitr')" - if [ $TRAVIS_OS_NAME = osx ]; then Rscript -e "devtools::install_github('r-lib/rlang')"; fi # postrun diff --git a/tests/testthat/test-mo_property.R b/tests/testthat/test-mo_property.R index 47b285cd..170a4573 100644 --- a/tests/testthat/test-mo_property.R +++ b/tests/testthat/test-mo_property.R @@ -30,7 +30,6 @@ test_that("mo_property works", { # check languages expect_equal(mo_type("E. coli", language = "de"), "Bakterien") - expect_equal(mo_type("E. coli", language = "nl"), "Bacteri\u00ebn") expect_equal(mo_gramstain("E. coli", language = "nl"), "Gram-negatief") expect_output(print(mo_gramstain("E. coli", language = "en")))