reproduce: Find entrypoint for analysis and suggest how to reproduce it.

View source: R/reproduce.R

reproduceR Documentation

Find entrypoint for analysis and suggest how to reproduce it.

Description

reproduce() inspects the files of a project and suggest a way to reproduce the project.

Usage

reproduce(fun, ..., path = ".", cache = FALSE, silent = FALSE)

reproduce_make(path, cache = FALSE, silent = FALSE)

Arguments

fun

a function that inspects dir and advises on how to reproduce the analysis. Defaults to reproduce_funs.

...

more functions like fun.

path

Were should I look for entrypoints?

cache

Default is FALSE. Some entrypoints have a cache, which you probably do not want to use in a reproduction.

silent

Should a message be presented?

Details

reproduce() walks through a list of functions that check for a specific entrypoint. As soon as a function returns a possible entrypoint the search stops. If no function is supplied the standard list of reproduce_funs is used.

Value

Returns invisibly the command users should use to reproduce.

See Also

reproduce_funs


aaronpeikert/repro documentation built on Sept. 16, 2024, 7:12 p.m.