You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jimhester 🙂 Explanation not for you, but to document for others.
How did I achieve this? I executed the code below and pasted into this issue. What's important?
venue is GitHub (venue = "gh"), which is the default
si = TRUE
That appends session info AND folds it nicely into a Details tag.
input<- c(
"#' Hello world",
"## a comment",
"(x <- 1:4)",
"#' hi again",
"y <- 2:5",
"x + y"
)
output<- reprex(input=input, si=TRUE)
What's not important? This specific use of input. This should work with any method of providing reprex source (clipboard, expression, character, file path).
Hello world
hi again
Session info
The text was updated successfully, but these errors were encountered: