-
Notifications
You must be signed in to change notification settings - Fork 6
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
getting error variables[["Code"]] : object of type 'closure' is not subsettable #283
Comments
@cour10eygrace please provide a reprex. does this happen with all your scripts or is it only in one script? |
It happens when I run it in the original script or when I source that script from another - but it happens intermittently so it's hard to pin down what's going on my_points = data.frame(lon= -116:-120, lat=49:53, elev=500:504, id= c('a','b', 'c', 'd', 'e'), clim_dat <- downscale( |
I can't reproduce the error with this reprex. perhaps you need to install the latest version of climr? |
@cour10eygrace as discussed last week it may be because you have an object in your script called "variables" that is assigned after the |
ok full script here- thanks!
|
I get this error when trying to run the downscale function at any point in an R session after I have already run it previously. So it works the first time but when running the exact same code again throws this error. Restarting my R session and re-running solves the problem but is clunky/annoying, Thanks!
The text was updated successfully, but these errors were encountered: