-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r4ss 1.50.0 dependency (patch to r4ss 1.49.3 for compat) #109
Comments
@iantaylor-NOAA @e-perl-NOAA @MOshima-PIFSC Updated dependencies to r4ss/[email protected], however tests scripts ran into SAML Auth access issues when r4ss calls the stock-synthesis executable to https://github.com/nmfs-ost/ss3-source-code Summary of 00check.log
|
Are you running these tests locally? If so on what type of operating system? |
I am using Rstudio's r package checker on Windows locally. |
Hmmm, odd. Maybe you just need to redo your git credentials |
Also, I don't know how you have downloaded r4ss but I have had much more success using devtools or remotes::install_github("r4ss/r4ss") than pak |
@e-perl-NOAA I removed previous instances of r4ss, and downloaded the ver 1.49.3 via |
@e-perl-NOAA @MOshima-PIFSC Attempted fix, updated curl 6.0.0, OpenSSL version is a later version documented, and
|
Okay, so this isn't the only thing that is showing this error. Another r package that is in the nmfs-ost organization is also causing this error to pop up so this is definitely an issue on the GitHub side of things and not on the package side of things. I'm currently posing the problem to the github governance team members to see if we can better identify the problem and find a fix. |
Okay, after much deliberation in the GGT google chat, I'm pretty sure we have identified the problem with both remotes (which is generally causing package installation issues) and gh (which is causing the issue here). Both of these look for a PAT (token) which was likely configured at some point, and it uses that by default even for public repositories. There seems to be something about enterprise github that uses single sign on tokens in particular that causes issues in these packages. There may be a way for me to not use the gh package to get what is needed from the GitHub api which might solve your issue (though I'm not 100% positive and it would take a lot of work, it also wouldn't be in the version of r4ss you are trying to use). A guaranteed solution (though maybe not one that you want to use if you use tokens in your workflow for other things) is to delete the token by doing the following
Then you should be able to run the test (and download packages using remotes) with no problem. If you need your tokens and can't delete them, I can work on trying a way to get the info from the GitHub api for the function without using gh. As for downloading packages, using pak instead of remotes has worked for some to get around this issue when downloading r packages from GitHub. |
I created an issue on the gh github page. Eli also created a similar issue on the remotes page |
@e-perl-NOAA Solutionsss3diags test scripts relies on
|
r4ss 1.50.0 introduces a major changes to its read/write functions, but breaks compatibility with existing ss3diags functions.
https://github.com/r4ss/r4ss/releases/tag/v1.50.0
For the short term, configure/patch r4ss dependences to 1.49.3 to maintain compatibility.
For the next major update, configure ss3diags with r4ss 1.50.0 dependency
The text was updated successfully, but these errors were encountered: