noaa-nwfsc / FishSET

FishSET (fisheries spatial economics toolbox) includes tools for spatial data analysis, running location choice models, and simulating policy scenarios.
https://noaa-nwfsc.github.io/FishSET/
Other
4 stars 0 forks source link

Can't install from Github #60

Closed mle2718 closed 6 months ago

mle2718 commented 6 months ago

I can't install from github using the process in the readme.

options(download.file.method="wininet")
remotes::install_github("noaa-nwfsc/FishSET")

produces:

Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo noaa-nwfsc/FishSET@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  cannot open URL 'https://api.github.com/repos/noaa-nwfsc/FishSET/tarball/HEAD'

remotes::install_github("noaa-nwfsc/FishSET@master") gives the same message

I don't think it's a credentials/token issue, but I'm not 100% sure of this.

  1. I used credentials::set_github_pat() to generate a SSO window and pushed through the browser link.
  2. I was able to pull the repository, branch, make some changes, and push to that branch. See #59

I think pak::pak will work though. Standby.