get_dependency_status: Retrieve status of dependencies from the remake store

View source: R/status_info.R

get_dependency_statusR Documentation

Retrieve status of dependencies from the remake store

Description

Returns placeholders if the object doesn't yet exist. hash=NA when the target hasn't yet been built, or '??' when the target is fake, or a hexcode string otherwise.

Usage

get_dependency_status(
  target_name,
  remake_object = ("remake" %:::% "remake")(remake_file =
    getOption("scipiper.remake_file"), verbose = FALSE, load_sources = TRUE),
  as_of = c("last_build", "now"),
  format = c("raw", "wide", "long")
)

Arguments

target_name

length-1 name of a target

remake_object

as produced by remake:::remake

as_of

what status should be reflected - status as of the last build (from the remake database) or status if we considered it built right now?

format

return in remake's list format ('raw'), a one-row tibble with nested tibbles for depends and code ('wide'), or a multi-row tibble with columns for name, dependency type, and dependency hash ('long')?


USGS-R/scipiper documentation built on May 25, 2023, 8:47 a.m.