Skip to content

Commit

Permalink
Merge pull request #49 from nhs-r-community/48-lintr-check
Browse files Browse the repository at this point in the history
Pass R CMD check following addition of {lintr}
  • Loading branch information
matt-dray authored Mar 8, 2024
2 parents defb426 + 8ef4067 commit a71c4f3
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 85 deletions.
25 changes: 13 additions & 12 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
^LICENSE\.md$
^.*\.Rproj$
^\.Rproj\.user$
^\.Rprofile$
^CODE_OF_CONDUCT\.md$
README.Rmd
cran-comments.md
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
^codecov\.yml$
^LICENSE\.md$
^.*\.Rproj$
^\.Rproj\.user$
^\.Rprofile$
^CODE_OF_CONDUCT\.md$
README.Rmd
cran-comments.md
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
^codecov\.yml$
.lintr
2 changes: 1 addition & 1 deletion R/queue_load.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#'
#' @examples
#' # If 30 patients are added to the waiting list each week (demand) and 27
#' removed (capacity) this results in a queue load of 1.11 (30/27).
#' # removed (capacity) this results in a queue load of 1.11 (30/27).
#' queue_load(30,27)
queue_load <- function(demand, capacity) {
load <- demand / capacity
Expand Down
27 changes: 16 additions & 11 deletions man/average_wait.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions man/queue_load.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 15 additions & 10 deletions man/relief_capacity.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 16 additions & 13 deletions man/target_capacity.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 16 additions & 13 deletions man/target_queue_size.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 13 additions & 12 deletions man/waiting_list_pressure.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a71c4f3

Please sign in to comment.