Closed mikldk closed 4 years ago
Maybe this can be solved by an Rstudio add-in:
Add file inst/rstudio/addins.dcf
with content like this (from https://github.com/r-lib/devtools/blob/master/inst/rstudio/addins.dcf):
Name: Report test coverage for a package
Description: Calculate and report the test coverage for the current package, using `devtools::test_coverage()`.
Binding: test_coverage
Interactive: false
See the proposed addin PR at https://github.com/r-lib/devtools/pull/2188 .
PR was merged in r-lib/devtools@919b3f474a82dcaf9bcabc0c60919ea5a0a424f3.
For now we need to use devtools
' addin and redefine keyboard shortcut.
Wish: Rstudio: CTRL+SHIFT+D option to run
devtools::document()
/roxygen2::roxygenise()
instead ofdevtools::document(roclets=c('rd', 'collate', 'namespace'))
devtools::document()
would be ran it would work.