aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-11-19 07:38:08 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2021-11-19 07:38:08 +0100
commite7d3077065cd449b234a6b2338efd70a94f94fbd (patch)
tree5c7e8d64c728b582069b727d85874d6b3f497b5d /R
parentc9819ab029bb2386d25bfa9be850c9f10478188e (diff)
Better approach to skip bcpc on travis, update docs
Diffstat (limited to 'R')
-rw-r--r--R/chent.R7
1 files changed, 6 insertions, 1 deletions
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",

Contact - Imprint