-
Notifications
You must be signed in to change notification settings - Fork 105
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
getPass version correction #9434
getPass version correction #9434
Conversation
@rdstern @ChrisMarsh82, I made all the files in order for packages installation. This can be merged and I believe the issue with the climsoft will be fixed in the next version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rsetup checks all packages are installed on startup. getPass wants to be included here even though it installed manually. similar to mmtable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChrisMarsh82 this is solved.
But I realized signmedian.test
is not in the Rsetup, is it correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install_packages is the list of packages that we need (without dependencies)
Rsetup is created from install_packages and should include all dependencies and versions.
installPackages are all packages installed including dependencies. This is used by the installer to install all the packages. This should also be created from install_packages however due to issues with installing some packages there are manual edits.
It would be worth reviewing all packages in install_packages making sure we only have listed the required packages. Then run this locally and create the packs and version lists for RSetup, update this and installpackages. The awkward bit comes in getting a blank R version to test installpackages before it runs in actions. It may be trial and error to get the actions to install all packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@N-thony I'm not sure quite how I should be testing this pull request, because af the different way packages are loaded in the VS and released versions.
I tried without loading anything, and it works - at least as far as giving the right input menu.
So I'm approving. Over to you @ChrisMarsh82
After @ChrisMarsh82 message I don't think we need mmtable2 anymore! That's a different issue maybe, but can we soon do a check of what packages we are still using? I would guess we can get rid of quite a few. And there are quite a large number that we load, every time R-Instat starts. I wonder if we need them all, from the beginning? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only check is that it now gives the popup dialog. I assume @Patowhiz will check, then the test version is made,because MSD will be the first users.
I get an error message that I do not have the getPass package installed! I assume that the new R-Instat installer will now come with this package? |
Would be good to get this correction made. In the meantime @jkmusyoka @rdstern we could evaluate how to connect to the database through a script just incase the package fails again in future. The other alternative that we have is getting raw data from either initial or final through the Climsoft front end. We could then document the steps for QC and products when a user chooses that path. |
@Patowhiz I like the idea of a script as a backup - but only that. |
@rdstern I'm happy to test. I'm hoping to get a stable version that I can use for ZINWA activities as well. |
@rdstern while waiting for @ChrisMarsh82 to merge this, is there another PR you would like in the upcoming version? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install_packages is the list of packages that we need (without dependencies)
Rsetup is created from install_packages and should include all dependencies and versions.
installPackages are all packages installed including dependencies. This is used by the installer to install all the packages. This should also be created from install_packages however due to issues with installing some packages there are manual edits.
It would be worth reviewing all packages in install_packages making sure we only have listed the required packages. Then run this locally and create the packs and version lists for RSetup, update this and installpackages. The awkward bit comes in getting a blank R version to test installpackages before it runs in actions. It may be trial and error to get the actions to install all packages.
@rdstern @jkmusyoka, I have created and tested version 0.8.2 now and it works fine now with the import from climsoft. Here is the link /~https://github.com/IDEMSInternational/R-Instat/actions/runs/13259765065 |
@Patowhiz and @jkmusyoka please can you download and check @Patowhiz I assume you have access to a climsoft database with some data in Initial, or you can transfer some data there for the checks? |
@Patowhiz unusual for me to do something you can't . The option to downlaod is at the bottom of the link above : |
Thanks @rdstern for precisely pointing out where the download link is located. I've been able download it. |
@Patowhiz yes, I realized some packages are not installed automatically because they require I realize also that RStudio (and R itself) does not install packages in the Program Files directory because of file permission restrictions and best practices for software management, why are we not doing the same? Am I ignoring something? |
@ChrisMarsh82 I have made the correction for the downgrade getPass version to 0.2-2. Have a look.