init_targets: Initialize 'targets' workflow

View source: R/utils.R

init_targetsR Documentation

Initialize targets workflow

Description

Sets up build files and creates a dedicated targets cache.

Usage

init_targets(x, path = ".", git, pkg_structure)

Arguments

x

Character. Location at which to initialize targets workflow.

path

A path. If it exists, it is used. If it does not exist, it is created, provided that the parent path exists.

git

Logical. Whether to initialize git.

pkg_structure

Logical. Whether to add R-package infrastructure.


crsh/template documentation built on Dec. 5, 2023, 6:31 p.m.