Merged
Conversation
63134aa to
6d4dbe9
Compare
6955458 to
0561a5e
Compare
LasseEngboChr
approved these changes
Feb 22, 2024
Contributor
LasseEngboChr
left a comment
There was a problem hiding this comment.
Lots of small adjustments to align the style :-)
Only a couple of suggestions.
6 tasks
Contributor
Author
|
Fixes #69 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
This PR takes a thorough look at the roxygen documentation and aligns the style internally and with the mlr3 style.
(This fixes the
param_and_field_linter()lints we have been getting since merging PR #102)In addition, some use of the
db_table_idargument have been renamed todb_tableto align names of arguments across functions.The recent updates to
id(), means that there we no longer need to supply anIdbut just something coercible byid().There also was some imports libraries that was causing issues. I removed these from imports and instead ensured every function call was visibly binded.
This also meant we could have fewer dependencies and move some dependencies to "Suggests" and not rely on these.
Approach
db_table_idrenamed todb_table.Roxygen docs:
Datatypes of arguments have been made explicit by adding the specification
(`<datatype>()`)\crto all function args.The indentation of roxygen docs have been aligned across functions
The order of roxygen tags have been aligned (but is not actively enforced)
Punctuation marks added throughout.
Examples made conditional on the installation status of
RSQLite.This mean that with a few more changes, we could move
RSQLiteto "Suggests" and don't have it as a dependency.Known issues
N/A
Checklist
NEWS.md