constructive1.1.0 package

Display Idiomatic Code to Construct Most R Objects

compare_options

Options for waldo::compare

construct_clip

Construct to clipboard

construct_diff

Display diff of object definitions

construct_dput

Construct using only low level constructors

construct_dump

Dump Constructed Code to a File

construct_issues

Show constructive issues

construct_reprex

construct_reprex

construct_signature

Construct a function's signature

construct

Build code to recreate an object

constructive-global_options

Global Options

constructive-package

constructive: Display Idiomatic Code to Construct Most R Objects

deparse_call

Deparse a language object

dot-cstr_apply

.cstr_apply

dot-cstr_combine_errors

Combine errors

dot-cstr_construct

Generic for object code generation

dot-cstr_options

Create constructive options

dot-cstr_pipe

Insert a pipe between two calls

dot-cstr_repair_attributes

Repair attributes after idiomatic construction

dot-cstr_wrap

Wrap argument code in function call

dot-env

Fetch environment from memory address

dot-xptr

Build a pointer from a memory address

extend-constructive

Extend constructive

opts_array

Constructive options for arrays

opts_AsIs

Constructive options for the class AsIs

opts_atomic

Constructive options for atomic types

opts_blob

Constructive options for class 'blob'

opts_character

Constructive options for type 'character'

opts_classGeneratorFunction

Constructive options for class 'classGeneratorFunction'

opts_classPrototypeDef

Constructive options for class 'classPrototypeDef'

opts_classRepresentation

Constructive options for class 'classRepresentation'

opts_complex

Constructive options for type 'complex'

opts_constructive_options

Constructive options for the class constructive_options

opts_data.frame

Constructive options for class 'data.frame'

opts_data.table

Constructive options for class 'data.table'

opts_Date

Constructive options class 'Date'

opts_dm

Constructive options class 'dm'

opts_dots

Constructive options for type '...'

opts_double

Constructive options for type 'double'

opts_environment

Constructive options for type 'environment'

opts_externalptr

Constructive options for type 'externalptr'

opts_factor

Constructive options for class 'factor'

opts_formula

Constructive options for formulas

opts_function

Constructive options for functions

opts_ggplot

Constructive options for class 'ggplot'

opts_grouped_df

Constructive options for class 'grouped_df'

opts_hexmode

Constructive options for class 'hexmode'

opts_integer

Constructive options for type 'integer'

opts_integer64

Constructive options for class 'integer64'

opts_language

Constructive options for type 'language'

opts_Layer

Constructive options for class 'Layer' (ggplot2)

opts_list

Constructive options for type 'list'

opts_logical

Constructive options for type 'logical'

opts_matrix

Constructive options for matrices

opts_mts

Constructive options for time-series objets

opts_numeric_version

Constructive options for numeric_version

opts_octmode

Constructive options for class 'octmode'

opts_ordered

Constructive options for class 'ordered'

opts_package_version

Constructive options for package_version

opts_pairlist

Constructive options for pairlists

opts_POSIXct

Constructive options for class 'POSIXct'

opts_POSIXlt

Constructive options for class 'POSIXlt'

opts_quosure

Constructive options for class 'quosure'

opts_quosures

Constructive options for class 'quosures'

opts_R_system_version

Constructive options for R_system_version

opts_R6

Constructive options for class 'R6'

opts_R6ClassGenerator

Constructive options for class 'R6ClassGenerator'

opts_raw

Constructive options for type 'raw'

opts_rowwise_df

Constructive options for class 'rowwise_df'

opts_S4

Constructive options for class 'S4'

opts_tbl_df

Constructive options for tibbles

opts_ts

Constructive options for time-series objets

opts_vctrs_list_of

Constructive options for class 'data.table'

opts_weakref

Constructive options for the class weakref

opts_xts

Constructive options for class 'xts'

opts_yearmon

Constructive options for class 'yearmon'

opts_yearqtr

Constructive options for class 'yearqtr'

opts_zoo

Constructive options for class 'zoo'

opts_zooreg

Constructive options for class 'zooreg'

other-opts

Other Opts Functions

templates

Extend constructive

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.

  • Maintainer: Antoine Fabri
  • License: MIT + file LICENSE
  • Last published: 2025-01-10