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

Replace is.scalar and is.bool with corresponding functions from checkmate #685

Closed
Puzzled-Face opened this issue Oct 2, 2023 · 1 comment · Fixed by #686
Closed

Replace is.scalar and is.bool with corresponding functions from checkmate #685

Puzzled-Face opened this issue Oct 2, 2023 · 1 comment · Fixed by #686

Comments

@Puzzled-Face
Copy link
Collaborator

Puzzled-Face commented Oct 2, 2023

Taking a chunk out of #683...

Replace is.scalar() with checkmate::test_scalar() and is.bool() with checkmate::test_flag().

@Puzzled-Face
Copy link
Collaborator Author

Also replaced stopifnot(is.scalar()) etc with assert_count() or assert_numeric(len = 1) and similar.

@Puzzled-Face Puzzled-Face linked a pull request Oct 2, 2023 that will close this issue
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 a pull request may close this issue.

1 participant