-
Notifications
You must be signed in to change notification settings - Fork 42
Include Settable Properties in Default Constructor #445
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
Merged
t-kalinowski
merged 21 commits into
main
from
include-dynamic-settable-props-in-constructor
Oct 1, 2024
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c1a6ac2
include dynamic settable props in the default constructor signature
t-kalinowski 4c8c166
add tests
t-kalinowski 2629d4a
Accept `...` as a default
t-kalinowski d02e600
Always add `...` to end of formals.
t-kalinowski 1a8f608
Pass along `...` unnamed in the constructor
t-kalinowski 99f3d6b
Revert "Pass along `...` unnamed in the constructor"
t-kalinowski 56d9ac0
Revert "Always add `...` to end of formals."
t-kalinowski 0122a83
Revert "Accept `...` as a default"
t-kalinowski 33fe3c8
Update `new_property()` examples
t-kalinowski 3a35cbb
`new_object()`, set static props before dynamic props
t-kalinowski 9347038
Better error call from default constructor
t-kalinowski 2ba2034
Disallow missing or `...` property default for now.
t-kalinowski f795935
oldrel-4 compat: no `\()`
t-kalinowski 9fad909
Add `read-only` example to `?new_property`
t-kalinowski 9cd508e
Update R/class.R
t-kalinowski 97d9ec3
refactor `new_object()`
t-kalinowski fd7c4f6
add `error_call` to `check_prop_default()`
t-kalinowski a709d0b
Add extended `new_property()` examples to vignette.
t-kalinowski 084580a
Merge branch 'main' into include-dynamic-settable-props-in-constructor
t-kalinowski d4c257b
update "Deprecated Property" example
t-kalinowski f8a48e5
Merge branch 'include-dynamic-settable-props-in-constructor' of https…
t-kalinowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.