-
Notifications
You must be signed in to change notification settings - Fork 8
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
Refactor distribution names #685
Refactor distribution names #685
Conversation
Instructions for code reviewerHello reviewer, thanks for taking the time to review this PR!
Checklist
|
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.
-
devtools::document()
needs to be ran - we follow a no-merge policy, this is not a big deal here because the commits will be squashed anyway ... but in the future please use
git fetch -a
git rebase --autostash origin/<branch name>
@msupernaw I know that you are off today so I might take a stab at some of these things.
@Bai-Li-NOAA this PR is to your dev branch because the changes impact the R interface, do you mind if after the changes are made to the PR that it be brought into your branch?
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.
Lines 8--9 should be changed to not have TMB in their name I believe.
#ifndef FIMS_INTERFACE_RCPP_RCPP_OBJECTS_RCPP_TMB_DISTRIBUTION_HPP
#define FIMS_INTERFACE_RCPP_RCPP_OBJECTS_RCPP_TMB_DISTRIBUTION_HPP
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.
@msupernaw can you confirm that this change is correct?
@kellijohnson-NOAA, works for me! Thanks @msupernaw for the refactoring work! |
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.
This figure should not have been committed I do not think.
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.
This figure should not have been committed I do not think.
vignettes/fims-demo.md
Outdated
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.
This file should not have been committed.
inst/include/interface/rcpp/rcpp_objects/rcpp_interface_base.hpp
Outdated
Show resolved
Hide resolved
Removes TMB from Distribution names and files to clean up the code and allow the downstream R interface to also remove these names. This is part of ensuring that the code is portable. If we change from TMB in the future we do not want to have to rename these things when a distribution is just a distribution, it does not have to come from TMB. Thank you @msupernaw for these changes.
7ac4f87
to
7f72769
Compare
f734d70
into
dev-r-setup-wrapper-functions
What is the feature?
How have you implemented the solution?
Does the PR impact any other area of the project, maybe another repo?