## ----not-cran-check, include = FALSE------------------------------------------ # Skip code evaluation on CRAN (external API calls will fail) not_cran_check <- identical(Sys.getenv("NOT_CRAN"), "true") && !nzchar(Sys.getenv("_R_CHECK_PACKAGE_NAME_")) run_vignette <- isTRUE(getOption("pkgdown.in_progress")) || not_cran_check knitr::opts_chunk$set(eval = run_vignette, purl = run_vignette) .