mathedjoe / animaltracker

Visualize and analyze GPS data for cows (and other animals).
5 stars 6 forks source link

Failed to Install 'AnimalTracker" #62

Closed arispes closed 4 years ago

arispes commented 4 years ago

Below is the error I receive after running the following lines: install.packages("devtools") library(devtools) install_github("mathedjoe/animaltracker") library(animaltracker) run_shiny_animaltracker()

Error: Failed to install 'animaltracker' from GitHub: ERROR: failed to lock directory ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library’ for modifying Try removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK’

mathedjoe commented 4 years ago

Thanks Sergio! We'll look into this now. In the meantime, it may help to try finding and deleting the 00LOCK file using the path listed in your error message. (I've seen similar messages in the past, and got them to go away by deleting the "00LOCK" file from my machine.

Joe

On Mon, Feb 24, 2020 at 3:44 PM Sergio Arispe notifications@github.com wrote:

Below is the error I receive after running the following lines: install.packages("devtools") library(devtools) install_github("mathedjoe/animaltracker") library(animaltracker) run_shiny_animaltracker()

Error: Failed to install 'animaltracker' from GitHub: ERROR: failed to lock directory ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library’ for modifying Try removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK’

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mathedjoe/animaltracker/issues/62?email_source=notifications&email_token=AD6TBG44LKLZ6J6O6FK3FQTREREVLA5CNFSM4K2UVILKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IP4O6WA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6TBG5T5RPFCLE6UAZZBXTREREVLANCNFSM4K2UVILA .

arispes commented 4 years ago

Joe, I got it working on my desktop. Apparently, the mass package update was the problem. I installed the updated CRAN packages (BH, farmer, yams, fun, tidyselect, has, pretty units, DBI) individually and I didn't get an error. Processing them all at once generated the problem.

Screen Shot 2020-02-25 at 10 18 48 AM