Closed gadenbuie closed 4 years ago
I think there were originally some limitations with how rstudioapi::addTheme()
worked that I didn't like, hence the use of {fs} to copy themes.
But the themes directory has changed a few times between RStudio 1.2 and 1.3 and rather than chase these changes I think it's better to use the internal functions of the rstudioapi
package. Presumably those functions will know more than I do about where themes and configuration files are located.
And there is always the destdir
option in install_rsthemes()
that users can fall back on if the rstudioapi::addTheme()
function doesn't work as expected.
Originally posted by @pat-s in https://github.com/gadenbuie/rsthemes/issues/3#issuecomment-593358498