diff --git a/man/Config.Rd b/man/Config.Rd index bc23f6e..1809dbe 100644 --- a/man/Config.Rd +++ b/man/Config.Rd @@ -21,136 +21,136 @@ Config( data = Data(), priors = list(rt = list(mean = structure(list(classes = list(structure(list(class = "integer", constructor_name = "integer", constructor = function (.data = integer(0)) - - .data, validator = function (object) + + .data, validator = function (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) - + } }), class = "S7_base_class"), structure(list(class = "double", constructor_name = - "double", constructor = function (.data = numeric(0)) + "double", constructor = function (.data = numeric(0)) .data, validator = function - (object) + (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"))), class = "S7_union"), sd = structure(list(classes = list(structure(list(class = "integer", constructor_name = "integer", constructor = - function (.data = integer(0)) - .data, validator = function (object) + function (.data = integer(0)) + .data, validator = function (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"), structure(list(class = "double", constructor_name = - "double", constructor = function (.data = numeric(0)) + "double", constructor = function (.data = numeric(0)) .data, validator = function - (object) + (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"))), class = "S7_union")), gp = list(alpha_sd = structure(list(classes = list(structure(list(class = "integer", constructor_name = - "integer", constructor = function (.data = integer(0)) + "integer", constructor = function (.data = integer(0)) .data, validator = function - (object) + (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"), structure(list(class = "double", constructor_name = - "double", constructor = function (.data = numeric(0)) + "double", constructor = function (.data = numeric(0)) .data, validator = function - (object) + (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"))), class = "S7_union"))), parameters = Parameters(), sampler_opts = list(cores = structure(list(class = "integer", constructor_name = - "integer", constructor = function (.data = integer(0)) + "integer", constructor = function (.data = integer(0)) .data, validator = function - (object) + (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"), chains = structure(list(class = "integer", - constructor_name = "integer", constructor = function (.data = integer(0)) + constructor_name = "integer", constructor = function (.data = integer(0)) .data, - validator = function (object) + validator = function (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"), iter_warmup = structure(list(class = "integer", - constructor_name = "integer", constructor = function (.data = integer(0)) + constructor_name = "integer", constructor = function (.data = integer(0)) .data, - validator = function (object) + validator = function (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"), iter_sampling = structure(list(class = "integer", - constructor_name = "integer", constructor = function (.data = integer(0)) + constructor_name = "integer", constructor = function (.data = integer(0)) .data, - validator = function (object) + validator = function (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"), max_treedepth = structure(list(class = "integer", - constructor_name = "integer", constructor = function (.data = integer(0)) + constructor_name = "integer", constructor = function (.data = integer(0)) .data, - validator = function (object) + validator = function (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"), adapt_delta = structure(list(classes = list(structure(list(class = "integer", constructor_name = "integer", constructor = - function (.data = integer(0)) - .data, validator = function (object) + function (.data = integer(0)) + .data, validator = function (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } }), class = "S7_base_class"), structure(list(class = "double", constructor_name = - "double", constructor = function (.data = numeric(0)) + "double", constructor = function (.data = numeric(0)) .data, validator = function - (object) + (object) { if (base_class(object) != name) { - + sprintf("Underlying data must be <\%s> not <\%s>", name, base_class(object)) } diff --git a/tests/testthat/data/CA_COVID-19.json b/tests/testthat/data/CA_COVID-19.json index 6117634..2113724 100644 --- a/tests/testthat/data/CA_COVID-19.json +++ b/tests/testthat/data/CA_COVID-19.json @@ -55,4 +55,4 @@ 0.95 ], "model": "EpiNow2" -} \ No newline at end of file +}