Search code examples
rr-modis

'object 'rlang_hash' not found' when using MODISTools functions in R


I am trying to follow the steps on the documentation and use the MODISTools R package to download Land Cover data.

I installed MODISTools and imported the library into my R session

install.packages("MODISTools")
library(MODISTools)

Then when I try to run any mt_*() function, I get the following error.

mt_products()

Error in encl$_hash(c(encl$_f_hash, args, lapply(encl$_additional, : object 'rlang_hash' not found


Solution

  • Updating the version of rlang package to 0.4.10 worked