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

Implement $clear() #1004

Merged
merged 4 commits into from
Apr 1, 2024
Merged

Implement $clear() #1004

merged 4 commits into from
Apr 1, 2024

Conversation

etiennebacher
Copy link
Collaborator

@etiennebacher etiennebacher commented Apr 1, 2024

Close #1001

Merge branch 'main' into clear

# Conflicts:
#	NEWS.md
#	tests/testthat/_snaps/after-wrappers.md
#	tests/testthat/test-lazy.R
R/dataframe__frame.R Outdated Show resolved Hide resolved
R/series__series.R Outdated Show resolved Hide resolved
Merge branch 'main' into clear

# Conflicts:
#	tests/testthat/test-expr_expr.R
Comment on lines +2374 to +2376
if (length(n) > 1 || !is.numeric(n) || n < 0) {
Err_plain("`n` must be an integer greater or equal to 0.") |>
unwrap("in $clear():")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice!

@etiennebacher etiennebacher merged commit f188495 into main Apr 1, 2024
25 checks passed
@etiennebacher etiennebacher deleted the clear branch April 1, 2024 14:19
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.

Missing method for DataFrame: clear, select_seq and with_columns_seq
2 participants