travis cant find knitr vignette builder

This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-09-25 00:36:35 +02:00
parent 9c566585b0
commit da60f27877
2 changed files with 2 additions and 2 deletions

View File

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

View File

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