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

10 redoc #11

Merged
merged 7 commits into from
Apr 14, 2024
Merged

10 redoc #11

merged 7 commits into from
Apr 14, 2024

Conversation

dgkf
Copy link
Owner

@dgkf dgkf commented Apr 14, 2024

Closes #8
Closes #10

  • test_examples_as_testthat will now re-roxygenize prior to running tests. Can be disabled by providing roxygenize = FALSE.
  • Syntax of different testing strategies has been unified under testex(), with choice of syntax determined by a new argument, style ("testthat", or "standalone"` (default)).
  • Similarly, with_srcref is no longer needed within the documentation code, the srcref information is now passed to testex() using the srcref argument, consolidating the interface into a single function call.
  • Adds a new config field, "version", which will be injected automatically. It records the version of testex used when writing Rd files (when using roxygen2) and is used to report and handle situations where there is a version mismatch between the version used to write the documentation and execute the tests.

@dgkf dgkf merged commit 0edede5 into main Apr 14, 2024
12 checks passed
@dgkf dgkf deleted the 10-redoc branch April 14, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant