-
Notifications
You must be signed in to change notification settings - Fork 12
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
Use rSharp instead of rClr #1376
Conversation
- Run docs
Docs
|
3 failing tests. All because of a thrown exception
That's only thrown when importer is catching another exception. Also from the test log
Doesn't seem related to rSharp though |
Didn't we also had problems with NPOI and tests reading excel files under Windows at the beginning? Missing dependencies? |
# Because of weird issue with nullable value in rClr | ||
# https://github.com/Open-Systems-Pharmacology/OSPSuite-R/issues/1369 | ||
if (!is.null(min)) { | ||
self$min <- min | ||
} |
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.
The comment refers to rClr.
Is just the comment obsolete or the code as well?
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.
referenced issue says "reevaluate after rSharp migration". let's put a TODO in the comment here so that we can easily find it later
[here](https://aka.ms/vs/16/release/vc_redist.x64.exe) | ||
- .NET Framework 4.7.2 available | ||
[here](https://go.microsoft.com/fwlink/?LinkID=863265) | ||
- Latest Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 available [here](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) |
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.
please extend the description "... 2015, 2017, 2019 and 2022 ..."
unzip("rsharp.zip") | ||
rSharp_archive <- list.files( pattern = "rSharp.*\\.zip") | ||
install.packages(rSharp_archive, repos = NULL, type = "binary") |
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.
why do we need these extra steps instead of just
install.packages("rsharp.zip", repos = NULL, type = "binary")
?
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.
Because artifacts built by are zipped. So the package is one level deeper in the archive, and R doesn't expect that.
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.
But it won't be needed once we go to GHactions because it will be able to build from source directly (see https://github.com/Open-Systems-Pharmacology/OSPSuite-R/actions/runs/9204757821/job/25318948079#step:3:5051)
@PavelBal We also need to adjust all C++ libs:
If you want, I can do the changes in the next PR - just let me know. |
Yes please do, I have no idea how to :D I propose that you create a PR into this branch and we maintain both the |
IIRC that was when we first tried to load PK-Sim, but yes, that was due to a mismatch in the target runtime. Let me see if I can find it on Linux. |
We made it work on Windows by placing System.Configuration.ConfigurationManager.dll into inst/lib. That is not working for Ubuntu though. The DLL is not found or not loaded by the runtime. |
temporarily disable failing tests Co-authored-by: Yuri05 <Yuri05@github.com>
@PavelBal @Felixmil @rwmcintosh @msevestre Any objections to merge this PR? |
none for me |
Merge-away |
NO!!!! Can we revert this, please @msevestre @Yuri05 ? We need a fully functional develop branch and this is NOT fully functional! As long as the create individual / create populations functionalities are not migrated, we need to maintain two branches. |
No description provided.