skgrange / threadr

Tools to Thread Pieces Of Data Analysis Together
GNU General Public License v3.0
31 stars 7 forks source link

Error: Failed to install 'threadr' from GitHub: 'local_makevars' is not an exported object from 'namespace:withr' #7

Closed nish-aj closed 3 years ago

nish-aj commented 3 years ago

Hello, I keep getting this error while trying to install the thread package using the below code

install.packages("remotes") remotes::install_github("skgrange/threadr") Error: Failed to install 'threadr' from GitHub: 'local_makevars' is not an exported object from 'namespace:withr'

Could someone please help?

skgrange commented 3 years ago

Hello. That sounds like an issue with locked directories and/or library files. It is a bit odd because I do not recognise the withr message.

I would recommend restarting your R session and making sure your restarted environment is completely clear and empty. After that, you can try the remotes::install_github("skgrange/threadr") command again. I hope that helps!