Skip to content

[help] Testing functions under R/ #1176

Closed Answered by wlandau
asadow asked this question in Help
Discussion options

You must be logged in to vote

Is the best course of action to create a testthat folder and during development run testthat::test_dir(".")?

If it works in your case, then by all means. The whole setup should be more flexible than if you were writing a formal R package (i.e. the test suite could be just a bunch of scripts in tests/ instead of tests/testthat/).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by asadow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants