The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

tarpolyglot: Run Python, Julia, and Rust Inside 'targets' Pipeline Steps

Adds target constructors that make it easy to use Python, Julia, and Rust inside a 'targets' pipeline using 'reticulate', 'JuliaCall', and 'rextendr'. Provides tar_target_py(), tar_target_jl(), and tar_target_rs() (with matching _raw() variants), each mirroring 'targets::tar_target()' and 'targets::tar_target_raw()'. Python and Julia steps run a script via a live interpreter with optional R pre- and post-scripts; Rust steps compile '#[extendr]' functions and call them from an R post-script. Results are returned either as converted R objects or as files written to disk (format = "file"). Dynamic branching, environment/version selection, a 'crew' controller for isolation, and the full set of tar_target_raw() arguments are supported.

Version: 0.2.0
Imports: targets, reticulate, JuliaCall, crew, rextendr
Suggests: knitr, rmarkdown, tarchetypes, testthat (≥ 3.0.0), withr
Published: 2026-08-08
DOI: 10.32614/CRAN.package.tarpolyglot
Author: Pierre Solomon ORCID iD [aut, cre]
Maintainer: Pierre Solomon <pierre.solomon at laposte.net>
BugReports: https://github.com/Pierre9344/tarpolyglot/issues
License: MIT + file LICENSE
URL: https://github.com/Pierre9344/tarpolyglot, https://pierre9344.github.io/tarpolyglot/
NeedsCompilation: no
SystemRequirements: The external language toolchains are optional and each is only required by its matching targets constructor: a Python installation for tar_target_py(), a Julia installation for tar_target_jl(), and a Rust toolchain with Cargo for tar_target_rs() (on Windows, the GNU toolchain, to match R's ABI). A pipeline that uses a single language needs only that language's toolchain, and a pipeline that uses none of these constructors needs no external toolchain at all.
Materials: NEWS
CRAN checks: tarpolyglot results

Documentation:

Reference manual: tarpolyglot.html , tarpolyglot.pdf
Vignettes: Get started with tarpolyglot (source, R code)
Using Julia inside targets (source, R code)
Using Python inside targets (source, R code)
Using Rust inside targets (source, R code)

Downloads:

Package source: tarpolyglot_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: tarpolyglot_0.2.0.zip, r-oldrel: tarpolyglot_0.2.0.zip
macOS binaries: r-release (arm64): tarpolyglot_0.2.0.tgz, r-oldrel (arm64): tarpolyglot_0.2.0.tgz, r-release (x86_64): tarpolyglot_0.2.0.tgz, r-oldrel (x86_64): tarpolyglot_0.2.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tarpolyglot to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.