Suggestion for new function: `create`
When using remake I find myself often doing something like
x <- remake::make("x")
The object x is being created in my remake workflow, but often in development I want to open in in R and poke around a bit.
To save typing the name of the objects multiple times, I'm suggesting a new function called create which when run via
remake::create("x")
would do the equivalent of x <- remake::make("x")
Quite similar to dump_environment but for accessing a single object rather than whole lot.
I'm using create_bindings() for this purpose, this makes all targets available in the global environment but only computes/reads anything if necessary.
Thanks @krlmlr, I had forgotten about that function. I suspect a separate function might still be warranted, but will start with create_bindings and see if this fulfills the need.
Perhaps something that combined the two ideas - an argument to create_bindings that allows creating bindings just for a subset of targets.