Checks that the folder ships proof the analysis was run end to end in a clean
session, such as a sessionInfo() capture or a run log. Its absence is a low
severity warn. Returns evidence with indicator_id = "R-REPRO-006".
Arguments
- path
Path to the submission's analysis code folder.
- ctx
A run context from
r4subcore::r4sub_run_context(). WhenNULLa default context is created from the folder name.- config
A configuration from
repro_config_default(). WhenNULLthe default configuration is used.
Examples
d <- file.path(tempdir(), "sub006")
dir.create(d, showWarnings = FALSE)
writeLines("R version", file.path(d, "sessionInfo.txt"))
ev <- suppressMessages(assess_clean_run_evidence(d))
ev$result
#> [1] "pass"