#RStats hivemind: Someone recently made a pkg that created nicer object deparsings than deparse().

Anyone know the name of this package? (It's pretty tricky to google for)

Edit: Found it! The package is called: {constructive}

https://cran.r-project.org/package=constructive

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.

Just found it: {constructive} #RStats

"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."

https://cran.r-project.org/package=constructive

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.

@coolbutuseless I think it had also a talk on the last useR! conference. It was fun and interesting to see how dput can still tricks users.
@coolbutuseless is it https://github.com/krlmlr/deparse/ ? Several years old and archived, but hopefully close to what you are looking for?
GitHub - krlmlr/deparse: A nicer deparse

A nicer deparse. Contribute to krlmlr/deparse development by creating an account on GitHub.

GitHub