Avi-Kenny / SimEngine

An open-source framework for statistical simulations in R
https://avi-kenny.github.io/SimEngine/
GNU General Public License v3.0
9 stars 0 forks source link

'relocate' is not an exported object from 'namespace:dplyr' #85

Closed nhavt closed 1 year ago

nhavt commented 1 year ago

Hi Avi-Kenny,

when i tried the following codes, I got an error message, see below

  sim <- new_sim()
  sim %<>% set_levels(n=c(20,40,60,80))
  sim %<>% set_config(num_sim=1000)
  # Error: 'relocate' is not an exported object from 'namespace:dplyr'

Do you have any idea how to fix it? Perhaps, I did something wrong. Thank you. Nha

Avi-Kenny commented 1 year ago

Hi! Can you try updating the dplyr package, and then rerunning this code? You can do this using install.packages("dplyr"). Let us know if this does not fix your problem.