ocean-tracking-network / 2024-symp-ecr-setup

Repo for code and setup info for the 2024 OTN Symposium ECR workshop
https://ocean-tracking-network.github.io/2024-symp-ecr-setup
Other
0 stars 0 forks source link

Ben's code about map Deprecated #7

Closed joyliujoyliu closed 2 weeks ago

joyliujoyliu commented 4 weeks ago

Line 75:

buffer_rings <- dists %>%

Error in parent.env(x) : argument is not an environment In addition: Warning message: 'map' is deprecated. Use 'listenv::mapping()' instead. See help("Deprecated") and help("listenv-deprecated").

jackVanish commented 4 weeks ago

@CaitlinBate @slandovs @jdpye Did any of you get this error also?

CaitlinBate commented 4 weeks ago

nope!

benjaminhlina commented 3 weeks ago

@joyliujoyliu it looks to me that this issue is related to map(). Maybe try purrr::map() on the third line instead of map().

joyliujoyliu commented 3 weeks ago

I think this error occurred when I had my own R-project environment. Now when I switch to yours. There's no more problem.

jackVanish commented 2 weeks ago

Excellent, glad to hear it. Appreciate you resolving this one; we've had a couple of hiccups owing to incorrect package versions and every one we chase down is a tool in our belts when 50 ECRs show up and start running into their own environment problems.