Implementation of psychrolib in R#49
Conversation
|
@hongyuanjia many thanks for this -- we will look at this carefully and will let you know for any issues with this. Re Travis, yes please, invoke all your tests from the @didierthevenard I will not be able to have a look at this until after Christmas -- do you have some time to go through some of the main points before then? On my side, and from a quick glance, I am not sure about those changes/additions as although good for the language, this will make some implementations drift from the reference. |
|
@dmey Great! I will add .travis.yml accordingly. For those changes/additions, they are definitely for discussion.
|
Codecov Report
@@ Coverage Diff @@
## master #49 +/- ##
=========================================
Coverage ? 88.42%
=========================================
Files ? 3
Lines ? 380
Branches ? 0
=========================================
Hits ? 336
Misses ? 44
Partials ? 0Continue to review full report at Codecov.
|
|
Thank you both for your work on this. I have no other comment to submit at this point. |
|
@didierthevenard great! The only remaining thing is to update the LICENSE, then I think we are ready to go? @dmey Once this PR merged, I will submit it to CRAN. |
That's great, thanks -- will need to update the license header in all files and fix another couple of things before this is merged in but don;t have time right now. I will do so tonight though with the CI bits as well. |
Co-Authored-By: dmey <dmey@users.noreply.github.com>
Co-Authored-By: dmey <dmey@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## master #49 +/- ##
=======================================
Coverage 88.42% 88.42%
=======================================
Files 3 3
Lines 380 380
=======================================
Hits 336 336
Misses 44 44
Continue to review full report at Codecov.
|
|
@hongyuanjia I have approved this PR and will now merge it in -- thanks a lot for your work! π π |
|
@dmey Cool! A long journey but worth it πππ |
Pull request overview
See #35. It is useful to add an implementation of psychrolib in the R language.
@banfelder did a pretty neat job on the R implementation of psychrolib. However, he did not fork the repo and thus was not able to send a PR. This PR is heavily leaned on @banfelder's work.
Changes/Additions
Change package name to psychro. Since on CRAN, 'lib' is not commonly used in package names. TheURLandBugReportsfield of this package targets for this main repo.Setting unit system toSIby default when package loaded with message:psychrolib.units(with no default value) to set default unit system for convenience. Adding this option will not change the package behavior of forcing initializing unit system but just to provide an alternative way to do the initialization.TODO
Questions
CI tests: Currently the main repo contains CI tests on python implementation. Is it OK if I add travis CI tests for R in.travis.ymlin the main repo?