geco-bern / agds

Applied Geodata Science book. Developed for the lecture(s) with the same name at the Institute of Geography, University of Bern.
https://geco-bern.github.io/agds/
Other
5 stars 6 forks source link

Noting that na_if() is depreceated #134

Closed padasch closed 1 year ago

padasch commented 1 year ago

I added comments where necessary to indicate that na_if() no longer works in newer tidyverse versions. mutate(across(where(is.numeric), ~na_if(., -9999))) should be used instead.

This should probably be cleaner and using the mutate-across... code directly. But I left it in for now to avoid confusion.