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 (may not be active yet) |
| Author: | Pierre Solomon |
| 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 |
| 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) |
| Package source: | tarpolyglot_0.2.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=tarpolyglot to link to this page.