Gabe Becker

Results 170 comments of Gabe Becker

I would argue fairly strongly that pkg::foo() should not install a package, even if library did. I don't think those are interchangeable enough; `::` is (semantically, if not implementation-wise) a...

depending on the purpose, though, %||% could also reasonably be defined as what you're calling %|||%. Also, and more importantly, there are some gotchas here. Big, sharp-edged ones, regarding operator...

I will admit Ive done this myself on occasion, but this is very much "clever code", and one should never write that anyway. That said I don't think we could...

Would love to take credit for this, but it's the parser doing the work here. There isn't actually a separate `->` function/"instruction" within the evaluator: ``` > parse(text = "5...

For the record I don't think this is a bug in the parser as it is almost certainly intentional. {x x} are equivalent so it doesn't really make sense for...

Those are equivalent but lhs and rhs aren't what you seem to want them to be. In fact, at the top level expression, there is no RHS in either case...

A bit more specifically to the case you're brought up I don't think there is any way in `function() 5 -> x` for R to know that it should stop...

On Thu, Oct 31, 2019 at 4:01 PM Lorenz Walthert wrote: > I don't really know why you would though. > > I'm a bit confused though about the larger...

On Thu, Oct 31, 2019 at 4:08 PM Kirill Müller wrote: > @gmbecker : I'm comparing f with function() 5 -> f . These two are parsed differently. > >...

Very late to this discussion, but I do have some thoughts and wanted to give my two cents as I've thought about this a fair bit. @cboettig I'm not sure...