diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2021-11-19 01:57:57 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2021-11-19 01:57:57 +0100 |
commit | ee867b11c38a6c0d97b999986f78cd014fd2bfd1 (patch) | |
tree | 62cb69102763dfb78392b836fa73174b9b93de11 | |
parent | ebbf0dba2aebb17d07a1974426794a183b48a27e (diff) |
Skip BCPC for travis
-rw-r--r-- | R/chent.R | 2 | ||||
-rw-r--r-- | tests/testthat/test_pai.R | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -495,11 +495,13 @@ plot.chent = function(x, ...) { #' @field bcpc List of information retrieved from pesticidecompendium.bcpc.org #' @keywords data #' @examples +#' \donttest{ #' atr <- pai$new("atrazine") #' print(atr) #' if (!is.null(atr$Picture)) { #' plot(atr) #' } +#' } pai <- R6Class("pai", inherit = chent, diff --git a/tests/testthat/test_pai.R b/tests/testthat/test_pai.R index e22b6ae..518fc56 100644 --- a/tests/testthat/test_pai.R +++ b/tests/testthat/test_pai.R @@ -5,6 +5,7 @@ require(testthat) context("Generation of pai objects") test_that("a pai object is correctly generated from an ambiguous name", { + skip_on_travis() # server certificate verification failed in curl_fetch_memory() glyphosate <- pai$new("glyphosate", chyaml = FALSE) expect_message(pai$new("benzalkonium chloride", chyaml = FALSE), "did not give results") |