Learn R Programming

drake (version 7.13.10)

drake_meta: Compute the initial pre-build metadata of a target or import. [Deprecated]

Description

Deprecated on 2019-01-12.

Usage

drake_meta(target, config)

Value

A list of metadata on a target. Does not include the file modification time if the target is a file. That piece is computed later in make() by drake:::store_outputs().

Arguments

target

Character scalar, name of the target to get metadata.

config

Top-level internal configuration list produced by drake_config().

Details

The metadata helps determine if the target is up to date or outdated. The metadata of imports is used to compute the metadata of targets. Target metadata is computed with drake_meta(), and then drake:::store_outputs() completes the metadata after the target is built. In other words, the output of drake_meta() corresponds to the state of the target immediately before make() builds it. See diagnose() to read the final metadata of a target, including any errors, warnings, and messages in the last build.

See Also

diagnose(), deps_profile(), make()