-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathtar_pipeline.Rd
35 lines (35 loc) · 952 Bytes
/
tar_pipeline.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tar_pipeline.R
\name{tar_pipeline}
\alias{tar_pipeline}
\title{Declare a pipeline (deprecated).}
\usage{
tar_pipeline(...)
}
\arguments{
\item{...}{Targets or lists of targets defined with \code{\link[=tar_target]{tar_target()}}.}
}
\value{
A pipeline object.
}
\description{
Functions \code{tar_pipeline()} and \code{\link[=tar_bind]{tar_bind()}} are deprecated.
Instead, simply end your target script file (default: \verb{_targets.R})
with a list of target objects.
You can nest these objects however you like.
}
\details{
Deprecated on 2021-01-03.
}
\examples{
# In _targets.R:
library(targets)
list( # You no longer need tar_pipeline() here.
tar_target(data_file, "data.csv", format = "file"),
list( # Target lists can be arbitrarily nested.
tar_target(data_object, read.csv(data_file)),
tar_target(analysis, analyze(data_object))
)
)
}
\keyword{internal}