Closed tsippel10 closed 1 year ago
Could you tell what kind of error remotes::install_github("MikkoVihtakari/ggOceanMapsData")
throws at you?
I was having a similar problem but the remotes::install_github.... worked nicely for me. Thanks!
Then it's a problem installing the remotes package rather than a problem with ggOceanMaps. I'll change the instruction to remotes.
Sorry the slow reply, I didn’t notice your response until now. Here is the error message I get.
remotes::install_github("MikkoVihtakari/ggOceanMapsData")
Downloading GitHub repo @.***
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL ' https://api.github.com/repos/MikkoVihtakari/ggOceanMapsData/tarball/HEAD'
I’m using remotes_2.4.2
Thanks,
Tim
On Thu, Apr 13, 2023 at 1:42 AM Mikko Vihtakari @.***> wrote:
Closed #22 https://github.com/MikkoVihtakari/ggOceanMaps/issues/22 as completed.
— Reply to this email directly, view it on GitHub https://github.com/MikkoVihtakari/ggOceanMaps/issues/22#event-8994276665, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7B2DDZ7U76LQV2UFIVJZLXA6375ANCNFSM6AAAAAAWW4VKJE . You are receiving this because you authored the thread.Message ID: @.***>
Can you install other packages with remotes::install_github
?
I tried on a Windows machine and it works fine here...
Good question. I’m getting similar errors from using remotes to install 2 other packages. Any idea what this is about?
FYI, I’ve also tried to install ggOceanMapsData the .zip file I downloaded from your website. That didn’t work either.
remotes::install_github("r-spatial/mapview")
Downloading GitHub repo @.***
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL ' https://api.github.com/repos/r-spatial/mapview/tarball/HEAD'
remotes::install_github("riatelab/cartography")
Downloading GitHub repo @.***
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL ' https://api.github.com/repos/riatelab/cartography/tarball/HEAD'
On Thu, Apr 13, 2023 at 11:36 PM Mikko Vihtakari @.***> wrote:
Can you install other packages with remotes::install_github?
— Reply to this email directly, view it on GitHub https://github.com/MikkoVihtakari/ggOceanMaps/issues/22#issuecomment-1507999896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7B2DCK6GWEFQVTI6R6LETXBDV5HANCNFSM6AAAAAAWW4VKJE . You are receiving this because you authored the thread.Message ID: @.***>
Seems like a connection problem or something. Try if googling helps. If not, perhaps open an issue on the remotes
Github site. You may link this one.
I'm unable to install ggOceanMaps data using either of the suggested commands;
devtools::install_github("MikkoVihtakari/ggOceanMapsData")
or
install.packages( "ggOceanMapsData", repos = "https://cloud.r-project.org")
Here is my R info
Matrix products: default
locale: [1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 [4] LC_NUMERIC=C LC_TIME=English_United States.utf8
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] ggOceanMaps_1.3.4 ggspatial_1.1.7 ggplot2_3.4.2