rspatial / terra

R package for spatial data handling https://rspatial.github.io/terra/reference/terra-package.html
GNU General Public License v3.0
543 stars 90 forks source link

Robustly use osVersion #1638

Closed MichaelChirico closed 2 weeks ago

MichaelChirico commented 2 weeks ago

osVersion is documented to be NULL on some "bizarre systems" (including the one where we run our tests :) ).

On such systems, there will be widespread package issues because of issues resulting from assuming this grepl() will return TRUE or FALSE (instead of logical()).

rhijmans commented 2 weeks ago

Thank you very much.