From a47bdd90b2c6ef8818a8740f7dca4594e33f819a Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Tue, 24 Sep 2024 12:25:50 +0100 Subject: [PATCH] Fix example --- R/interface.R | 2 +- man/dust_system_generator.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/interface.R b/R/interface.R index c799f5e8..9de99586 100644 --- a/R/interface.R +++ b/R/interface.R @@ -20,7 +20,7 @@ ##' @keywords internal ##' @examples ##' # This creates the "sir" generator -##' dust_system_generator("sir", "discrete", asNamespace("dust2")) +##' dust_system_generator("sir", "discrete", 1, asNamespace("dust2")) ##' ##' # This is the same code as in "dust2:::sir", except there we find ##' # the correct environment automatically diff --git a/man/dust_system_generator.Rd b/man/dust_system_generator.Rd index dc5769cf..3cce6d47 100644 --- a/man/dust_system_generator.Rd +++ b/man/dust_system_generator.Rd @@ -32,7 +32,7 @@ using \link{dust_package} } \examples{ # This creates the "sir" generator -dust_system_generator("sir", "discrete", asNamespace("dust2")) +dust_system_generator("sir", "discrete", 1, asNamespace("dust2")) # This is the same code as in "dust2:::sir", except there we find # the correct environment automatically