R/tar_package.R

#' targets: Dynamic Function-Oriented Make-Like Declarative Pipelines for R
#' @docType package
#' @description A pipeline toolkit for Statistics and data science in R,
#'   the `targets` package brings function-oriented programming to
#'   Make-like declarative pipelines. `targets` orchestrates a pipeline
#'   as a graph of dependencies,
#'   skips steps that are already up to date, runs the necessary
#'   computations with optional parallel workers, abstracts files as
#'   R objects, and provides tangible evidence that the results are
#'   reproducible given the underlying code and data.
#'   The methodology in this package
#'   borrows from GNU Make (2015, ISBN:978-9881443519)
#'   and `drake` (2018, \doi{doi:10.21105/joss.00550}).
#' @name targets-package
#' @family help
#' @importFrom base64url base64_urldecode base64_urlencode
#' @importFrom callr r r_bg
#' @importFrom cli col_blue col_green col_red col_yellow make_spinner
#'   num_ansi_colors symbol
#' @importFrom codetools findGlobals
#' @importFrom data.table data.table fread fwrite rbindlist set
#' @importFrom digest digest digest2int
#' @importFrom igraph adjacent_vertices get.edgelist gorder
#'   graph_from_data_frame igraph_opt igraph_options is_dag simplify topo_sort
#'   V
#' @importFrom knitr engine_output knit_engines
#' @importFrom R6 R6Class
#' @importFrom rlang abort as_function check_installed enquo inform
#'   is_installed quo_squash warn
#' @importFrom stats complete.cases runif
#' @importFrom tibble as_tibble
#' @importFrom tidyselect all_of any_of contains ends_with everything
#'   last_col matches num_range one_of starts_with
#' @importFrom tools file_path_sans_ext
#' @importFrom utils browseURL capture.output data globalVariables head menu
#'   packageVersion stack tail
#' @importFrom vctrs vec_c vec_rbind vec_size vec_slice
#' @importFrom yaml read_yaml
NULL

utils::globalVariables(
  c(
    "example_target",
    ".targets_gc_5048826d",
    ".targets_target_5048826d",
    "self"
  )
)

Try the targets package in your browser

Any scripts or data that you put into this service are public.

targets documentation built on Oct. 12, 2023, 5:07 p.m.