Let's say that I work at Acme and have RStudio Connect. Let's also say I want to host a reprex image server, so that folks at Acme could post private reprexes. As you know, reprex::reprex()
allows you to set the image-upload function, e.g.:
reprex_acme <- function(...) {
# need to set it back to how i found it, but you get the idea
knitr::opts_knit$set(upload.fun = upload_to_acme_rs_connect)
reprex::reprex(...)
}
Could such a thing be done "easily" using Connect? Could such a thing be a new feature? (It would be up to Acme to write upload_to_acme_rs_connect()
, but there could be a boilerplate.)
Thanks for considering!