Package: constructive 1.0.1.9000

Antoine Fabri

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.

Authors:Antoine Fabri [aut, cre], Kirill Müller [ctb]

constructive_1.0.1.9000.tar.gz
constructive_1.0.1.9000.zip(r-4.5)constructive_1.0.1.9000.zip(r-4.4)constructive_1.0.1.9000.zip(r-4.3)
constructive_1.0.1.9000.tgz(r-4.4-x86_64)constructive_1.0.1.9000.tgz(r-4.4-arm64)constructive_1.0.1.9000.tgz(r-4.3-x86_64)constructive_1.0.1.9000.tgz(r-4.3-arm64)
constructive_1.0.1.9000.tar.gz(r-4.5-noble)constructive_1.0.1.9000.tar.gz(r-4.4-noble)
constructive_1.0.1.9000.tgz(r-4.4-emscripten)constructive_1.0.1.9000.tgz(r-4.3-emscripten)
constructive.pdf |constructive.html
constructive/json (API)
NEWS

# Install 'constructive' in R:
install.packages('constructive', repos = c('https://cynkra.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/cynkra/constructive/issues

On CRAN:

8.65 score 130 stars 21 scripts 1.9k downloads 119 exports 6 dependencies

Last updated 9 hours agofrom:016f3bed0a. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-win-x86_64OKNov 21 2024
R-4.5-linux-x86_64OKNov 21 2024
R-4.4-win-x86_64OKNov 21 2024
R-4.4-mac-x86_64OKNov 21 2024
R-4.4-mac-aarch64OKNov 21 2024
R-4.3-win-x86_64OKNov 21 2024
R-4.3-mac-x86_64OKNov 21 2024
R-4.3-mac-aarch64OKNov 21 2024

Exports:.cstr_apply.cstr_combine_errors.cstr_construct.cstr_new_class.cstr_new_constructor.cstr_options.cstr_pipe.cstr_repair_attributes.cstr_wrap.env.xptrcompare_optionsconstructconstruct_baseconstruct_clipconstruct_diffconstruct_dputconstruct_dumpconstruct_issuesconstruct_multiconstruct_reprexconstruct_signaturedeparse_callopts_arrayopts_AsIsopts_atomicopts_bibentryopts_blobopts_characteropts_citationFooteropts_citationHeaderopts_classGeneratorFunctionopts_classPrototypeDefopts_classRepresentationopts_complexopts_constructive_optionsopts_CoordCartesianopts_CoordFixedopts_CoordFlipopts_CoordMapopts_CoordMunchopts_CoordPolaropts_CoordQuickmapopts_CoordSfopts_CoordTransopts_data.frameopts_data.tableopts_Dateopts_difftimeopts_dmopts_dotsopts_doubleopts_element_blankopts_element_grobopts_element_lineopts_element_rectopts_element_renderopts_element_textopts_environmentopts_erroropts_expressionopts_externalptropts_FacetWrapopts_factoropts_formulaopts_functionopts_ggplotopts_ggprotoopts_grouped_dfopts_hexmodeopts_integeropts_integer64opts_labelsopts_languageopts_Layeropts_listopts_logicalopts_marginopts_matrixopts_mtsopts_noquoteopts_NULLopts_numeric_versionopts_octmodeopts_orderedopts_package_versionopts_pairlistopts_personopts_POSIXctopts_POSIXltopts_quosureopts_quosuresopts_R_system_versionopts_R6opts_R6ClassGeneratoropts_rawopts_relopts_rowwise_dfopts_S4opts_Scaleopts_ScalesListopts_simpleConditionopts_simpleErroropts_simpleMessageopts_simpleUnitopts_simpleWarningopts_tbl_dfopts_themeopts_tsopts_unevalopts_vctrs_list_ofopts_waiveropts_warningopts_weakrefopts_xtsopts_yearmonopts_yearqtropts_zooopts_zooreg

Dependencies:clicrayondiffobjgluerlangwaldo

Extend constructive

Rendered fromextend-constructive.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-07-03
Started: 2024-07-02

Readme and manuals

Help Manual

Help pageTopics
.cstr_apply.cstr_apply
Combine errors.cstr_combine_errors
Generic for object code generation.cstr_construct
Create constructive options.cstr_options
Insert a pipe between two calls.cstr_pipe
Repair attributes after idiomatic construction.cstr_repair_attributes
Wrap argument code in function call.cstr_wrap
Fetch environment from memory address.env
Build a pointer from a memory address.xptr
Options for waldo::comparecompare_options
Build code to recreate an objectconstruct construct_multi
Construct to clipboardconstruct_clip
Display diff of object definitionsconstruct_diff
Construct using only low level constructorsconstruct_base construct_dput
Dump Constructed Code to a Fileconstruct_dump
Show constructive issuesconstruct_issues
construct_reprexconstruct_reprex
Construct a function's signatureconstruct_signature
Global Optionsconstructive-global_options constructive_opts_template constructive_pretty constructive_print_mode
Deparse a language objectdeparse_call
Extend constructiveextend-constructive
Constructive options for arraysopts_array
Constructive options for the class 'AsIs'opts_AsIs
Constructive options for atomic typesopts_atomic
Constructive options for class 'blob'opts_blob
Constructive options for type 'character'opts_character
Constructive options for class 'classGeneratorFunction'opts_classGeneratorFunction
Constructive options for class 'classPrototypeDef'opts_classPrototypeDef
Constructive options for class 'classRepresentation'opts_classRepresentation
Constructive options for type 'complex'opts_complex
Constructive options for the class 'constructive_options'opts_constructive_options
Constructive options for class 'data.frame'opts_data.frame
Constructive options for class 'data.table'opts_data.table
Constructive options class 'Date'opts_Date
Constructive options class 'dm'opts_dm
Constructive options for type '...'opts_dots
Constructive options for type 'double'opts_double
Constructive options for type 'environment'opts_environment
Constructive options for type 'externalptr'opts_externalptr
Constructive options for class 'factor'opts_factor
Constructive options for formulasopts_formula
Constructive options for functionsopts_function
Constructive options for class 'ggplot'opts_ggplot
Constructive options for class 'grouped_df'opts_grouped_df
Constructive options for class 'hexmode'opts_hexmode
Constructive options for type 'integer'opts_integer
Constructive options for class 'integer64'opts_integer64
Constructive options for type 'language'opts_language
Constructive options for class 'Layer' (ggplot2)opts_Layer
Constructive options for type 'list'opts_list
Constructive options for type 'logical'opts_logical
Constructive options for matricesopts_matrix
Constructive options for time-series objetsopts_mts
Constructive options for numeric_versionopts_numeric_version
Constructive options for class 'octmode'opts_octmode
Constructive options for class 'ordered'opts_ordered
Constructive options for package_versionopts_package_version
Constructive options for pairlistsopts_pairlist
Constructive options for class 'POSIXct'opts_POSIXct
Constructive options for class 'POSIXlt'opts_POSIXlt
Constructive options for class 'quosure'opts_quosure
Constructive options for class 'quosures'opts_quosures
Constructive options for R_system_versionopts_R_system_version
Constructive options for class 'R6'opts_R6
Constructive options for class 'R6ClassGenerator'opts_R6ClassGenerator
Constructive options for type 'raw'opts_raw
Constructive options for class 'rowwise_df'opts_rowwise_df
Constructive options for class 'S4'opts_S4
Constructive options for tibblesopts_tbl_df
Constructive options for time-series objetsopts_ts
Constructive options for class 'data.table'opts_vctrs_list_of
Constructive options for the class 'weakref'opts_weakref
Constructive options for class 'xts'opts_xts
Constructive options for class 'yearmon'opts_yearmon
Constructive options for class 'yearqtr'opts_yearqtr
Constructive options for class 'zoo'opts_zoo
Constructive options for class 'zooreg'opts_zooreg
Other Opts Functionsopts_bibentry opts_citationFooter opts_citationHeader opts_CoordCartesian opts_CoordFixed opts_CoordFlip opts_CoordMap opts_CoordMunch opts_CoordPolar opts_CoordQuickmap opts_CoordSf opts_CoordTrans opts_difftime opts_element_blank opts_element_grob opts_element_line opts_element_rect opts_element_render opts_element_text opts_error opts_expression opts_FacetWrap opts_ggproto opts_labels opts_margin opts_noquote opts_NULL opts_person opts_rel opts_Scale opts_ScalesList opts_simpleCondition opts_simpleError opts_simpleMessage opts_simpleUnit opts_simpleWarning opts_theme opts_uneval opts_waiver opts_warning other-opts
Extend constructive.cstr_new_class .cstr_new_constructor templates