I like using advertise = TRUE (the default): it's a nice acknowledgement of the package authors and a signal that it's actually a reprex.
That said, I slightly prefer
(y <- 1:4)
#> [1] 1 2 3 4
mean(y)
#> [1] 2.5
Created on 2018-09-05 by the reprex package (v0.2.0).
over
(y <- 1:4)
#> [1] 1 2 3 4
mean(y)
#> [1] 2.5
Created on 2018-09-05 by the reprex package (v0.2.0).
as the former makes the advertisement separate from the body text rather than a continuation of it. It's a matter of taste, but I thought I'd bring it up in case you like it but hadn't considered it.
Thanks!
I like using
advertise = TRUE(the default): it's a nice acknowledgement of the package authors and a signal that it's actually a reprex.That said, I slightly prefer
Created on 2018-09-05 by the reprex package (v0.2.0).
over
Created on 2018-09-05 by the reprex package (v0.2.0).
as the former makes the advertisement separate from the body text rather than a continuation of it. It's a matter of taste, but I thought I'd bring it up in case you like it but hadn't considered it.
Thanks!