{targets}-based workflow

Functions to support a {targets}-based workflow

targetsme() use_targets()

Add files and directories for a targets-powered project.

tar_make_job()

Run a targets pipeline as a job in RStudio

tar_visnetwork_custom()

Visualize targets dependency graph using custom arguments

use_targets_description()

Create a description file, including key dependencies to run the workflow

use_targets_gitignore()

Add entries to .gitignore, to ignore non-version-control-friendly files in this targets-based workflow

use_targets_templates()

Copy targets templates to the current project

DuckDB targets

Target factory to wrangle data using DuckDB

tar_duck_r() tar_duck_rmd()

Target factory to run SQL code on a DuckDB database backend, keeping one DuckDB file per target

duck_tar_format

A custom format. The write function is standard, as we only want to store in the target the info that allows us to create the connection. The read function would do the heavy-lifting.

attach_db()

Attach a database to the currently running DuckDB and update the search_path to make the objects in the new database available without using fully qualified names

get_search_path()

Query DuckDB's search_path

set_search_path()

Set DuckDB's search_path

update_search_path()

Update DuckDB's search_path by prepending and/or appending values

{bookdown} targets

Target factory to cuild bookdown reports

tar_bookdown()

Target factory for bookdown

bookme()

Wrapper of bookdown::render_book, running it in input_dir

OLD Drake-based workflow

Fns to support a drake-based workflow

drakeme() use_drake()

Add files and directories for a drake-powered project.

use_drake_description()

Create a description file, including key dependencies to run a drake workflow

use_drake_gitignore()

Add entries to .gitignore, to ignore non-version-control-friendly files in this drake-based workflow

use_drake_templates()

Copy drake templates to the current project