Skip to content

Bug: default statistic arg errors even when not required #333

Description

@pearsonca

Please place an "x" in all the boxes that apply

  • I have the most recent version of this package and R
  • I have found a bug
  • I have a reproducible example
  • I want to request a new feature

Please include a brief description of the problem with a code example:

# no error
simulate_chains(
		n_chains = 10, statistic = "size",
		offspring_dist = \(n) rnbinom(n, size = 1, mu = 2),
		generation_time = \(n) rep(5, times = n),
		tf = 10
      ))
# error, even though statistic not required / used
simulate_chains(
		n_chains = 10,
		offspring_dist = \(n) rnbinom(n, size = 1, mu = 2),
		generation_time = \(n) rep(5, times = n),
		tf = 10
      ))

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status
No status

Relationships

None yet

Development

No branches or pull requests

Issue actions