constructive icon indicating copy to clipboard operation
constructive copied to clipboard

Display Idiomatic Code to Construct Most R Objects

Results 80 constructive issues
Sort by recently updated
recently updated
newest added

I first though we could parse Waldo's messages and summarise but it's brittle, we can do better. Whenever we do a reconstruction that we know will be inexact, e.g. reproducing...

diagnostics

From #56 > I now think the ... should just be for the user facing interface. We might just pass around an opts object. > As an early step we...

internals

in the same spirit as construct_reprex in #20 * `construct_workspace()` construct all objects in the global env, and also print library calls and use these packages as data. * `construct_dump(x,...

feature

This will run forever, though it doesn't have to : env

We had this issue for #104 How do we create a tibble with a `.rows` column ? how do we create a data frame with a `stringsAsFactors` column ? Since...

Should we consider constructing base objects by only using their names ? This would be optional, and there are 2 levels to this, only base or all base packages. maybe...

* `dput()` constructs objects from internal type by adding attributes. Its flaws are that it's not always accurate, and that it doesn't use idiomatic constructors. * `construct()` is accurate and...

feature

A tbl_lazy is probably called by `tbl(con, "my_table")` if there is no query, if there is a query I believe the dplyr code is stored somewhere in the object so...

classes

through sf::st_point() Actually all st_ stuff and sf more generally deserve a pass, these are commonly encountered

classes

Useful for #177 and probably other use cases define json objects from vectors, lists or data frame so they print prettier, using `jsonlite::toJSON()` This would also allow using the `data`...

classes