Skip to content

Commit

Permalink
Fix typo in linter name
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo authored and joshwlambert committed Aug 7, 2024
1 parent d06a9bd commit b404781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/sim_contacts.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
#' infectious_period = infectious_period,
#' prob_infection = 0.5
#' )
sim_contacts <- function(contact_distribution = function(x) stats::dpois(x = x, lambda = 2), # nolint line_lenght_linter
infectious_period = function(x) stats::rlnorm(n = x, meanlog = 2, sdlog = 0.5), # nolint line_lenght_linter
sim_contacts <- function(contact_distribution = function(x) stats::dpois(x = x, lambda = 2), # nolint line_length_linter.
infectious_period = function(x) stats::rlnorm(n = x, meanlog = 2, sdlog = 0.5), # nolint line_length_linter.
prob_infection = 0.5,
outbreak_start_date = as.Date("2023-01-01"),
anonymise = FALSE,
Expand Down

0 comments on commit b404781

Please sign in to comment.