orderly_strict_mode: Enable orderly strict mode

View source: R/metadata.R

orderly_strict_modeR Documentation

Enable orderly strict mode

Description

Put orderly into "strict mode", which is closer to the defaults in orderly 1.0.0; in this mode only explicitly included files (via orderly_resource() and orderly_shared_resource()) are copied when running a packet, and we warn about any unexpected files at the end of the run. Using strict mode allows orderly to be more aggressive in how it deletes files within the source directory, more accurate in what it reports to you, and faster to start packets after developing them interactively.

Usage

orderly_strict_mode()

Details

In future, we may extend strict mode to allow requiring that no computation occurs within orderly functions (i.e., that the requirements to run a packet are fully known before actually running it). Most likely this will not be the default behaviour and orderly_strict_mode() will gain an argument.

We will allow server processes to either override this value (enabling it even when it is not explicitly given) and/or require it.

Value

Undefined

Examples

# An example in context within the orderly examples:
orderly_example_show("strict")

orderly documentation built on Jan. 24, 2026, 1:07 a.m.