Skip to content

Add regression tests of calibration#1394

Open
MichaelChirico wants to merge 1 commit intotopepo:masterfrom
MichaelChirico:test-calibration
Open

Add regression tests of calibration#1394
MichaelChirico wants to merge 1 commit intotopepo:masterfrom
MichaelChirico:test-calibration

Conversation

@MichaelChirico
Copy link
Copy Markdown
Contributor

As earlier, these tests were generated by Gemini, with touch-up by me for correctness, and with further prompting to ensure better code coverage, particularly of the nrow(x) == 0 branch here:

} else out <- c(Percent = NA, Lower = NA,
Upper = NA, Count = 0)

This will facilitate changing these plyr::ddply() calls to use {dplyr} instead.

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.

1 participant