Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rossarmstrong committed Feb 1, 2023
1 parent 7632faa commit 0151a85
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dev_history.R
$run_dev.*
^\.github$
^LICENSE\.md$
^codecov\.yml$
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Imports:
shiny (>= 1.7.4),
shinydashboard (>= 0.7.2)
Suggests:
covr,
spelling,
testthat (>= 3.0.0)
Config/testthat/edition: 3
Expand Down
14 changes: 14 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
comment: false

coverage:
status:
project:
default:
target: auto
threshold: 1%
informational: true
patch:
default:
target: auto
threshold: 1%
informational: true
3 changes: 2 additions & 1 deletion dev/02_dev.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ devtools::build_vignettes()

## Code Coverage----
## Set the code coverage service ("codecov" or "coveralls")
usethis::use_coverage()
#usethis::use_coverage()
usethis::use_coverage("codecov")

# Create a summary readme for the testthat subdirectory
covrpage::covrpage()
Expand Down

0 comments on commit 0151a85

Please sign in to comment.