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.

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