Closed fior-uisge closed 4 years ago
Thank you for posting this here.
Can you let me know what you get back when you run
getOption("repos")
For me, this returns the following (standard R/RStudio install)
CRAN
"https://cran.rstudio.com/"
attr(,"RStudio")
[1] TRUE
It seems that both install_github() calls try to access a drat repo at https://joachim-gassen.github.io/drat. There is no such repo. When it shows up in your repos option try to delete it and see whether this helps.
Thanks Joachim. This was where the problem lay. I've edited the .Rprofile file to remove the drat repo
So, using the code you suggested in your original post, this is what happens:
I then tried with devtools::install_github("joachim-gassen/tidycovid19") and got a similare response:
It was only afer theis that I tried using the drat package as it allows setting up a link to the drat repository and easy installation when running scripts where you want to update data. The syntax used was: