Open dickens-ladco opened 1 year ago
Hi! Sorry I didn't respond to previous comments yet. I should be able to address this issue by the weekend.
The issue is that I have not completely updated the R data package, because we were having trouble getting updated data. Once I fix the package, the code should work for you. I'll make sure we test it and confirm that you can install.
Hi Nathan,
I’m not sure that will fix the problems. I’m not even able to install the devtools package. And my memory is that years ago when I did, it messed up some other functions in R, although I may be misremembering that. I worry that if I’m having these problems, others might as well.
Angie
Angela F. Dickens, Ph.D. (she/her)
Data Scientist
Lake Michigan Air Directors Consortium
(847) 720-7883
d @.> @. @.***>
From: Nathan Byers @.> Sent: Wednesday, July 12, 2023 1:21 PM To: LADCO/training-r-intro @.> Cc: dickens-ladco @.>; Author @.> Subject: Re: [LADCO/training-r-intro] access to data files (Issue #11)
Hi! Sorry I didn't respond to previous comments yet. I should be able to address this issue by the weekend.
The issue is that I have not completely updated the R data package, because we were having trouble getting updated data. Once I fix the package, the code should work for you. I'll make sure we test it and confirm that you can install.
— Reply to this email directly, view it on GitHub https://github.com/LADCO/training-r-intro/issues/11#issuecomment-1633005493 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BA5JWRYTC6CUOK254H3PMT3XP3TIJANCNFSM6AAAAAA2H3JTXU . You are receiving this because you authored the thread.Message ID: @.***>
This is the error message I get when I try to install devtools. Then when I say "yes" to restart, it gets stuck in a loop and never properly installs it. (not sure if this image will come through. If not, I'll email it.
I think the best way now is to use the remotes
package: https://github.com/r-lib/remotes.
If that turns out to be an issue, we can get the package published on CRAN. Or just keep the data somewhere that's easy to download in an automated way.
Any of those approaches sound fine to me.
@dickens-ladco try this code:
install.packages("remotes")
remotes::install_github("FluentData/region5air")
library(region5air)
data(chicago_air)
That works!
Angela F. Dickens, Ph.D. (she/her)
Data Scientist
Lake Michigan Air Directors Consortium
(847) 720-7883
d @.> @. @.***>
From: Nathan Byers @.> Sent: Thursday, July 13, 2023 9:52 AM To: LADCO/training-r-intro @.> Cc: dickens-ladco @.>; Mention @.> Subject: Re: [LADCO/training-r-intro] access to data files (Issue #11)
@dickens-ladco https://github.com/dickens-ladco try this code:
install.packages("remotes")
remotes::install_github("FluentData/region5air")
library(region5air)
data(chicago_air)
— Reply to this email directly, view it on GitHub https://github.com/LADCO/training-r-intro/issues/11#issuecomment-1634387564 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BA5JWRYKC3NSPP6MMAD4FNTXQADSBANCNFSM6AAAAAA2H3JTXU . You are receiving this because you were mentioned. https://github.com/notifications/beacon/BA5JWRZG4S6JUAQA6L4PZGDXQADSBA5CNFSM6AAAAAA2H3JTXWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTBNLDGY.gif Message ID: @. @.> >
As I mentioned by email, one substantive comment I had is that I’ve had problems installing and using devtools, and I’m having problems now. (I think the problems I’ve had has to do with interactions with other installed packages – looks like it’s not an uncommon problem from googling.) I suspect I’m not the only one, so it may be tricky to rely on it to deliver packages and data. Let’s think of another way to do this.