Skip to content

Add unit tests via testthat - #1

Open
Epic-Doughnut wants to merge 6 commits into
sarahlotspeich:mainfrom
Epic-Doughnut:main
Open

Add unit tests via testthat#1
Epic-Doughnut wants to merge 6 commits into
sarahlotspeich:mainfrom
Epic-Doughnut:main

Conversation

@Epic-Doughnut

Copy link
Copy Markdown

No description provided.

Add tests using testthat package
Include some speed testing using the tictoc package in simulations and some functions
Add tests for optMLE_grid, sample_bcc, and twophase_mle
Add a helper function for data
Remove tictoc functions from twophase_mle
Update NAMESPACE, DESCRIPTION, and add LICENSE
Temporarily adding MIT license to appease devtools::check, we can change it later
Add comments to some functions and add library calls where needed
Rerun tests that use RNG with a set.seed function to guarantee the same results when testing
Add debug variables in the helper file to toggle time-intensive tests
Replace if statement with expect_not_equal
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