markpayneatwork / ClimateOperators

An R package containing wrappers to the Climate Data Operators (CDO) and the NetCDF Operators (NCO)
GNU General Public License v3.0
27 stars 6 forks source link

ClimateOperators masks dplyr::select #4

Open jimjam-slam opened 1 year ago

jimjam-slam commented 1 year ago

Hi there! I've noticed that loading {ClimateOperators} after {tidyverse} or {dplyr} masks dplyr::select. I think this is a result of the package attaching {raster}, which has raster::select.

Given ClimateOperators only uses a couple of raster functions (I think only raster::raster! Is griddes a {raster} function too?), would it be possible to namespace those function calls within the package directly and move {raster} from Depends to Imports, so that it doesn't attach {raster} on load?