Skip to content

Commit

Permalink
Update RStudio addins
Browse files Browse the repository at this point in the history
Fixes #2339
  • Loading branch information
jimhester committed Apr 9, 2021
1 parent aad9f61 commit 1aaaa99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# devtools (development version)

* The RStudio addins now use `test_active_file()` and `test_coverage_active_file()` instead of the deprecated `test_file()` and `test_coverage_file()` (#2339)

# devtools 2.4.0

## Breaking changes and deprecated functions
Expand Down
8 changes: 4 additions & 4 deletions inst/rstudio/addins.dcf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Name: Run a test file
Description: Run the current test file, using `devtools::test_file()`.
Binding: test_file
Description: Run the current test file, using `devtools::test_active_file()`.
Binding: test_active_file
Interactive: false

Name: Report test coverage for a file
Description: Calculate and report test coverage for the current test file, using `devtools::test_coverage_file()`.
Binding: test_coverage_file
Description: Calculate and report test coverage for the current test file, using `devtools::test_coverage_active_file()`.
Binding: test_coverage_active_file
Interactive: false

Name: Report test coverage for a package
Expand Down

0 comments on commit 1aaaa99

Please sign in to comment.