Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in isotope-guided-walk.R: the object d18o_world on line 123 wasn't found #1

Closed
adw96 opened this issue Aug 17, 2021 · 2 comments

Comments

@adw96
Copy link
Contributor

adw96 commented Aug 17, 2021

Excellent question received by email: running isotope-guided-walk.R leads to an error on line 123:

Error in calRaster(known = d, isoscape = d18o_world) : 
  object 'd18o_world' not found

Update pending and commit to follow

@adw96
Copy link
Contributor Author

adw96 commented Aug 17, 2021

It appears that this issue arose when the authors of the assignR package altered assignR::calRaster -- some time between v2.1.1 and 1.2.1 (we developed this software under the latter release). One can check the assignR version using sessionInfo(). Running the following code appears to fix the error:

devtools::install_version("assignR", version = "1.2.1", repos = "http://cran.us.r-project.org")
library(assignR) 
sessionInfo() # confirm assignR_1.2.1
data(d18o_world)

@adw96
Copy link
Contributor Author

adw96 commented Aug 17, 2021

Issue fixed in commit c189f70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant