barbone, I recently found out I can do parenthetical method chaining (there's a real term for this right?) in #RStats like the examples below.
args <- ( scribe::command_args() $add_argument("foo", action = "flag") $add_argument("bar", action = "list", default = 1) $parse() )
wb <- ( openxlsx2::wb_workbook() $add_worksheet() $add_data(x = datasets::attitude) )
I think I'm going to update a lot of scripts now.
@RStats
Add comment