aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-11-19 01:57:57 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2021-11-19 01:57:57 +0100
commitee867b11c38a6c0d97b999986f78cd014fd2bfd1 (patch)
tree62cb69102763dfb78392b836fa73174b9b93de11
parentebbf0dba2aebb17d07a1974426794a183b48a27e (diff)
Skip BCPC for travis
-rw-r--r--R/chent.R2
-rw-r--r--tests/testthat/test_pai.R1
2 files changed, 3 insertions, 0 deletions
diff --git a/R/chent.R b/R/chent.R
index 6983561..7f61801 100644
--- a/R/chent.R
+++ b/R/chent.R
@@ -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")

Contact - Imprint