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

Include testthat/data into the package and update tests to refer to it #169

Merged
merged 2 commits into from
Aug 23, 2024
Merged

Include testthat/data into the package and update tests to refer to it #169

merged 2 commits into from
Aug 23, 2024

Conversation

mcol
Copy link
Contributor

@mcol mcol commented Aug 23, 2024

This moves the test files that were in the tests/testdata directory to the tests/testthat/data directory, so they can be found by testthat. Now these files (with the exception of SPEfile.SPE) are included into the package, and tests that used to download those file from github to refer directly to the new local path (apart from one case for coverage). Fixes #168.

File tests/testdata/BINfile_V8.binx is removed as an identical file is already under inst/extdata and that's what was already being used in the read_BIN2R() tests.

@RLumSK
Copy link
Member

RLumSK commented Aug 23, 2024

@mcol The CI tests fail, can you please double-check.

@mcol
Copy link
Contributor Author

mcol commented Aug 23, 2024

#170 has to go in first, then I can rebase and update this.

mcol added 2 commits August 23, 2024 16:28
…stdata.

This modifies the tests that used to download files from github to refer
directly to the new local path.
@RLumSK RLumSK merged commit 9ea2048 into R-Lum:dev_0.9.x Aug 23, 2024
10 checks passed
@mcol mcol deleted the issue_168 branch August 23, 2024 21:24
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.

2 participants