Closed csgillespie closed 3 years ago
thanks @csgillespie !
Might it make more sense to have rprofile
parameter expect a named list? Then we'd change the default to list(repos=c(CRAN="https://cloud.r-project.org/"))
and internally then coerce the named list into a character string. Does that seem like a better or worse option?
I thought about that, but the downside is we are limiting entries to options()
. If we want to add other entries, say functions, then we can't
right. I guess then it's up to the user to make sure their string is formatted correctly
@sckott Are you happy to merge?
Provide more flexibility to the Rprofile creation.
Used
shQuote()
to hopefully avoid quoting chaos.Related to #202