cjcarlson / embarcadero

🌲🌉 Species distribution models with Bayesian additive regression trees
49 stars 11 forks source link

Conflicted "select" function between raster and dplyr. #22

Closed vmshirey closed 3 years ago

vmshirey commented 3 years ago

Hi Colin!

Just dropping a quick note about an error when running bart.step in which the "select" function is not properly defined as coming from either the raster or dplyr libraries:

library(conflicted)
sdm <- bart.step(y.data=dat[,"occurrence"], x.data=dat[,xnames], full=TRUE, quiet=TRUE)

_Error: [conflicted] select found in 2 packages. Either pick the one you want with ::

cjcarlson commented 3 years ago

AH

cjcarlson commented 3 years ago

Thank you

cjcarlson commented 3 years ago

Should be unconflicted now?