Skip to content

Commit

Permalink
Merge pull request nationalparkservice#83 from RobLBaker/master
Browse files Browse the repository at this point in the history
update check_te() error messages
  • Loading branch information
RobLBaker authored Mar 11, 2024
2 parents c7ac540 + 50ae94e commit af15dd1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-03-07
* Update error warning in `check_te()` to not reference VPN since NPS no longer uses VPN.

# QCkit v0.1.5
2024-02-09
* This version adds the DRR template, example files, and associated documentation to the QCkit package.
Expand Down
5 changes: 1 addition & 4 deletions R/taxonomy.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ check_te <- function(x, species_col, park_code, expansion=FALSE) {
fedlist <- ODataQuery::retrieve_data(odata_url)},
error = function(e) {
cat(crayon::red$bold("ERROR: "),
"Your connection timed out.\n",
"Make sure you are logged on to the VPN before running ",
crayon::green$bold("te_check()"),
".", sep="")
"Your connection timed out.", sep="")
stop()
})
#subset incoming data:
Expand Down
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ articles:
DRR_Purpose_and_Scope: DRR_Purpose_and_Scope.html
Starting-a-DRR: Starting-a-DRR.html
Using-the-DRR-Template: Using-the-DRR-Template.html
last_built: 2024-02-14T22:32Z
last_built: 2024-03-07T18:46Z

0 comments on commit af15dd1

Please sign in to comment.