constructive: Display Idiomatic Code to Construct Most R Objects

Prints code that can be used to recreate R objects. In a sense it is similar to 'base::dput()' or 'base::deparse()' but 'constructive' strives to use idiomatic constructors.

Version: 1.4.0
Depends: R (≥ 4.0.0)
Imports: cli (≥ 3.1.0), diffobj, methods, rlang (≥ 1.0.0), waldo
Suggests: bit64, blob, clock, clipr, data.table, DiagrammeR, DiagrammeRsvg, dm, dplyr, ellmer, forcats, fs, ggplot2, glue, haven, hms, htmltools, jsonlite, knitr, lubridate, Matrix, R6, readr, reprex, rmarkdown, roxygen2, rstudioapi, S7, scales, sf, survival, testthat (≥ 3.0.0), tibble, tidyselect, tsibble, units, vctrs, withr, xml2, xts, zoo
Published: 2026-10-22
DOI: 10.32614/CRAN.package.constructive
Author: Antoine Fabri [aut, cre], Kirill Müller ORCID iD [ctb], Jacob Scott [ctb], cynkra GmbH ROR ID [fnd]
Maintainer: Antoine Fabri <antoine.fabri at gmail.com>
BugReports: https://github.com/cynkra/constructive/issues
License: MIT + file LICENSE
URL: https://github.com/cynkra/constructive, https://cynkra.github.io/constructive/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: constructive results

Documentation:

Reference manual: constructive.html , constructive.pdf
Vignettes: deparse_call (source, R code)
Extending constructive (source, R code)

Downloads:

Package source: constructive_1.4.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
Old sources: constructive archive

Reverse dependencies:

Reverse suggests: DBItest, rsofun

Linking:

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