From 29bb611b73cc98c233166a684504394a423ab451 Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Mon, 17 Jun 2024 11:26:34 -0700 Subject: [PATCH] fetchNASIS vignette: add one more safety mechanism for eval --- vignettes/fetchNASIS.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/fetchNASIS.Rmd b/vignettes/fetchNASIS.Rmd index c687999f..3b21846e 100644 --- a/vignettes/fetchNASIS.Rmd +++ b/vignettes/fetchNASIS.Rmd @@ -176,7 +176,7 @@ knitr::opts_chunk$set( collapse = TRUE, comment = "#>", echo = FALSE, - eval = (nchar(soilDBdata_pedon_dsn) > 0) + eval = (nchar(soilDBdata_pedon_dsn) > 0) && file.exists(soilDBdata_pedon_dsn) ) ```