inst/doc/z-advanced-topic-reproducible-analytical-pipelines-with-nix.R

## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----eval = F-----------------------------------------------------------------
# path_default_nix <- tempdir()
# 
# rix(
#   r_ver = "4.2.2",
#   r_pkgs = c("targets", "tarchetypes", "rmarkdown"),
#   system_pkgs = NULL,
#   git_pkgs = list(
#     package_name = "housing",
#     repo_url = "https://github.com/rap4all/housing/",
#     commit = "1c860959310b80e67c41f7bbdc3e84cef00df18e"
#   ),
#   ide = "none",
#   project_path = path_default_nix,
#   overwrite = TRUE
# )

## ----parsermd-chunk-3, eval = FALSE-------------------------------------------
# path_default_nix <- tempdir()
# 
# rix(
#   r_ver = "4.2.2",
#   r_pkgs = c("targets", "tarchetypes", "rmarkdown"),
#   system_pkgs = NULL,
#   git_pkgs = list(
#     package_name = "housing",
#     repo_url = "https://github.com/rap4all/housing/",
#     commit = "1c860959310b80e67c41f7bbdc3e84cef00df18e"
#   ),
#   ide = "none",
#   shell_hook = "Rscript -e 'targets::tar_make()'",
#   project_path = path_default_nix,
#   overwrite = TRUE
# )

Try the rix package in your browser

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

rix documentation built on Sept. 11, 2025, 5:12 p.m.