Skip to content
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

Restructure function and internal clean-up #151

Merged
merged 5 commits into from
Mar 8, 2024

Conversation

venpopov
Copy link
Owner

@venpopov venpopov commented Mar 8, 2024

Summary

Mostly internal cleanup

  1. Simplifies the structure of *$bmm and cleans up environments stored with formulas. Before we were storing the entire environment unintentionally leading to larger objects that usual.

  2. Finish the restructure() method. Now any model fitted after version 0.2.0 can be used with all new methods. For example, the fit of Klaus to Unsworth data now works with the new summary. As we change things in the future, we should add things to the restructure function when necessary

Closes #147. Closes #148

Tests

[X] Confirm that all tests passed
[X] Confirm that devtools::check() produces no errors

Release notes

venpopov added 3 commits March 8, 2024 15:39
- remove bmm$fit_args
- add functions for resetting formula environments to avoid storing unnecessary objects
-
@venpopov venpopov linked an issue Mar 8, 2024 that may be closed by this pull request
3 tasks
@venpopov venpopov requested a review from GidonFrischkorn March 8, 2024 19:06
Copy link
Collaborator

@GidonFrischkorn GidonFrischkorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this cleanup. I did not find any issues. And the updates work fine on my machine.

@venpopov venpopov merged commit 804e103 into develop Mar 8, 2024
3 checks passed
@venpopov venpopov deleted the feature/issue-147-make-restructure-function branch March 8, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fit$bmm$config_args contains a lot of duplicated info make restructure() function
2 participants