From ee867b11c38a6c0d97b999986f78cd014fd2bfd1 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 19 Nov 2021 01:57:57 +0100 Subject: Skip BCPC for travis --- R/chent.R | 2 ++ tests/testthat/test_pai.R | 1 + 2 files changed, 3 insertions(+) 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") -- cgit v1.2.1