Skip to content

Reorganize generics and classes#46

Merged
kenkellner merged 2 commits into
mainfrom
reorganize_classes
Aug 25, 2025
Merged

Reorganize generics and classes#46
kenkellner merged 2 commits into
mainfrom
reorganize_classes

Conversation

@kenkellner
Copy link
Copy Markdown
Contributor

  • Move all generics into file All_generics.R
  • Move all class definitions into file All_classes.R

This emulates the lme4 S4 approach. The advantages are that class inheritance is much more clear, and we no longer have to use a complicated Collate entry in DESCRIPTION to figure out the order files should be loaded. The disadvantage is that now classes and fitting functions are in separate files. All future generics and classes should go in these two files, in the correct order of inheritance.

@kenkellner kenkellner merged commit 98abe5e into main Aug 25, 2025
3 of 5 checks passed
@kenkellner kenkellner deleted the reorganize_classes branch August 25, 2025 15:35
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.

1 participant