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

assertion for makeTria #21

Merged
merged 2 commits into from
Mar 14, 2024
Merged

assertion for makeTria #21

merged 2 commits into from
Mar 14, 2024

Conversation

grewered
Copy link
Collaborator

@grewered grewered commented Mar 7, 2024

No description provided.

Copy link
Owner

@weirichs weirichs left a comment

Choose a reason for hiding this comment

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

I think this works well, but dfr <- makeDataFrame(dfr) instead of checkmate::assert_data_frame(dfr) might be more comfortable for users. If dfr isn't a data.frame, checkmate::assert_data_frame(dfr) aborts with an error message, whereas dfr <- makeDataFrame(dfr) converts dfr into a data.frame if possible.

@grewered grewered requested a review from weirichs March 13, 2024 15:30
Copy link
Owner

@weirichs weirichs left a comment

Choose a reason for hiding this comment

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

looks very well, thank you!

@grewered grewered merged commit 6e2de84 into master Mar 14, 2024
8 checks passed
@grewered grewered deleted the check_makeTria branch March 14, 2024 11:46
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.

2 participants