MikkoVihtakari / ggOceanMaps

Plot oceanographic research data on maps using ggplot2
GNU General Public License v3.0
45 stars 7 forks source link

Unable to install ggOceanMapsData #22

Closed tsippel10 closed 1 year ago

tsippel10 commented 1 year ago

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

sessionInfo() R version 4.2.1 (2022-06-23 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044)

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

MikkoVihtakari commented 1 year ago

Could you tell what kind of error remotes::install_github("MikkoVihtakari/ggOceanMapsData") throws at you?

Phoebe-AA commented 1 year ago

I was having a similar problem but the remotes::install_github.... worked nicely for me. Thanks!

MikkoVihtakari commented 1 year ago

Then it's a problem installing the remotes package rather than a problem with ggOceanMaps. I'll change the instruction to remotes.

tsippel10 commented 1 year ago

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: @.***>

MikkoVihtakari commented 1 year ago

Can you install other packages with remotes::install_github?

I tried on a Windows machine and it works fine here...

tsippel10 commented 1 year ago

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: @.***>

MikkoVihtakari commented 1 year ago

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.