Skip to content

Commit

Permalink
fetchNASIS vignette: add one more safety mechanism for eval
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Jun 17, 2024
1 parent 0b7ce67 commit 29bb611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/fetchNASIS.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
```

Expand Down

0 comments on commit 29bb611

Please sign in to comment.