From e7d3077065cd449b234a6b2338efd70a94f94fbd Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 19 Nov 2021 07:38:08 +0100 Subject: Better approach to skip bcpc on travis, update docs --- R/chent.R | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'R/chent.R') diff --git a/R/chent.R b/R/chent.R index 3739978..c89efec 100644 --- a/R/chent.R +++ b/R/chent.R @@ -495,12 +495,17 @@ plot.chent = function(x, ...) { #' @field bcpc List of information retrieved from pesticidecompendium.bcpc.org #' @keywords data #' @examples -#' \dontrun{ +#' # On Travis, we get a certificate validation error, +#' # likely because the system (xenial) is so old, +#' # therefore don't run this example on Travis +#' if (Sys.getenv("TRAVIS") == "") { +#' #' atr <- pai$new("atrazine") #' print(atr) #' if (!is.null(atr$Picture)) { #' plot(atr) #' } +#' #' } pai <- R6Class("pai", -- cgit v1.2.1