-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_make.R
32 lines (28 loc) · 1.09 KB
/
_make.R
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
# R notebook source
# -------------------------------------------------------------------------
# Copyright (c) 2022 Craig Robert Shenton. All rights reserved.
# Licensed under the MIT License. See license.txt in the project root for
# license information.
# -------------------------------------------------------------------------
# FILE: _make.R
# DESCRIPTION: run target pipeline
# CONTRIBUTORS: Craig R. Shenton
# CONTACT: [email protected]
# CREATED: 18 Dec 2022
# VERSION: 0.0.1
# Load libraries and global vars
# -------------------------------------------------------------------------
library(targets)
library(here)
# Run the targets pipleline
# -------------------------------------------------------------------------
# Run the pipeline you defined in the targets script file.
# default: _targets.R
source("_targets.R")
tar_make()
# Prune targets
# -------------------------------------------------------------------------
# Deletes the data and metadata of all the targets no longer present in
# your current target script file
# default: _targets.R
# tar_prune()