joachim-gassen / tidycovid19

{tidycovid19}: An R Package to Download, Tidy and Visualize Covid-19 Related Data
https://joachim-gassen.github.io/tidycovid19/
Other
146 stars 44 forks source link

Problem in installation #14

Closed PaulaNF closed 4 years ago

PaulaNF commented 4 years ago

Dear Joachim Gassen. I will greatly appreciate your help. I can not install the package

remotes::install_github("joachim-gassen/tidycovid19")

Error: Failed to install 'tidycovid19' from GitHub: (converted from warning) cannot remove prior installation of package ‘curl’ In addition: Warning messages: 1: In untar2(tarfile, files, list, exdir) : skipping pax global extended headers 2: In untar2(tarfile, files, list, exdir) : skipping pax global extended headers

Thank you in advance

Paula Fergnani

joachim-gassen commented 4 years ago

Hi Paula:

This one is not easy for me to comment on as it is most-likely unrelated to the tidycovid19 package and could be caused by many things. Which Operating system are you on? Are you in a multi-user environment without access to the R library path? Any other messages during the install process?

In principle, R most likely complains because it cannot write to the library directory where curl is installed. This could be (among other things, I guess) because of another R session running or because you not having write access to your library path.

Things that you can do.

  1. Rerun the install in a virgin R session after making sure that you do not have any other R related processes running. If this fails then

  2. Run .libPaths() in your R console. Note down the path(s) that it reports. Go to these paths and check for the directory curl in that path. test whether you have write access in that directory. If you feel adventurous, you could also move this directory somewhere else (temporarily removing the curl library from your system) and try to run the install then.

Good luck!

joachim-gassen commented 4 years ago

Closing this because of inactivity.

PaulaNF commented 4 years ago

Thank you very much for your response, I had no time yet to try the reinstall, but I will do it Kind regards Paula Fergnani

El sáb., 9 may. 2020 a las 11:44, Joachim Gassen (notifications@github.com) escribió:

Closed #14 https://github.com/joachim-gassen/tidycovid19/issues/14.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/joachim-gassen/tidycovid19/issues/14#event-3319448452, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKDCSUJ5O3P3T3JQPKA273RQVT6LANCNFSM4MRMNCEA .

--

Dra. Paula N. Fergnani Laboratorio Ecotono INIBIOMA-Universidad Nacional del Comahue Bariloche, Argentina Tel.: +54(294) 4422111 int 155