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

How to run test suite #317

Open
rwickens opened this issue Aug 11, 2023 · 2 comments
Open

How to run test suite #317

rwickens opened this issue Aug 11, 2023 · 2 comments

Comments

@rwickens
Copy link

I cannot find any issues documenting how to run the test suite for this package. I am trying to install it on my ARM Macbook and would like to verify the installation was successful. Any help would be appreciated. Thank you in advance.

@gdevenyi
Copy link
Contributor

gdevenyi commented Aug 11, 2023

RMINC has testthat tests
https://testthat.r-lib.org/

Usage
The easiest way to get started is with [usethis](https://github.com/r-lib/usethis). Assuming you’re in a package directory, just run usethis::use_test("name") to create a test file, and set up all the other infrastructure you need. If you’re using RStudio, press Cmd/Ctrl + Shift + T (or run devtools::test() if not) to run all the tests in a package.

@cfhammill
Copy link
Member

you can also use runRMINCTestbed which sets some environment variables for you before running testthat::test_dir

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

No branches or pull requests

3 participants