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

Restore cyclocomp_linter defaults #197

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .lintr
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ linters: all_linters(
)
),
function_argument_linter = NULL,
cyclocomp_linter(25L),
indentation_linter = NULL, # unstable as of lintr 3.1.0
# Use minimum R declared in DESCRIPTION or fall back to current R version.
# Install etdev package from https://github.com/epiverse-trace/etdev
Expand Down
2 changes: 2 additions & 0 deletions R/simulate.r
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
#' "Branching Process Models for Surveillance of Infectious Diseases
#' Controlled by Mass Vaccination.” Biostatistics (Oxford, England)
#' 4 (2): 279–95. \doi{https://doi.org/10.1093/biostatistics/4.2.279}.
# nolint start: cyclocomp_linter.
simulate_chains <- function(index_cases,
statistic = c("size", "length"),
offspring_dist,
Expand Down Expand Up @@ -328,6 +329,7 @@ simulate_chains <- function(index_cases,
)
return(out)
}
# nolint end

#' Simulate transmission chains sizes/lengths
#'
Expand Down
Loading