dust_repair_environment: Repair dust environment

View source: R/compile.R

dust_repair_environmentR Documentation

Repair dust environment

Description

Repair the environment of a dust object created by [dust] and then saved and reloaded by [saveRDS] and [readRDS]. Because we use a fake temporary package to hold the generated code, it will not ordinarily be loaded properly without using this.

Usage

dust_repair_environment(generator, quiet = FALSE)

Arguments

generator

The dust generator

quiet

Logical, indicating if we should be quiet (default prints some progress information)

Value

Nothing, called for its side effects


mrc-ide/dust documentation built on Oct. 6, 2023, 8:26 a.m.