Question Details

No question body available.

Tags

r

Answers (1)

March 6, 2026 Score: 1 Rep: 168,528 Quality: Medium Completeness: 100%

I don't think you can "fix" the error without fixing the package itself locally. This is not hard, but is not in the typical troubleshooting-steps for many R users. I'll walk you through what worked for me.

Two problems:

  1. The package has a bug in it. I think it should be !any(..).
  2. In xindices data, the function is looking for EVAPORATIVE instead of EVAPORATION (despite its documentation).

Bug #1, Fix the Package

There appear to be a couple commits since the last CRAN release. I don't know enough about the package or its functionality to know if they are critical or even fully tested. If you're good with it (I used it here), then go to https://github.com/rchlumsk/RavenR and then either "Code >> Download Zip" (and unzip to a local directory), or git clone the repo locally.

After that, edit R/rvnbudykoplot.R with this diff (remove the --leading line, replace it with the +-leading line):

--- a/R/rvn
budykoplot.R +++ b/R/rvnbudykoplot.R @@ -76,7 +76,7 @@ rvnbudykoplot % # mutate(..) %>% # this code is doing nothing, safe to keep or remove select(Date, ARIDITY, EVAPORATIVE = EVAPORATION) # change xindices