Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme directory on Windows is ~/AppData/Roaming/RStudio for RStudio >= 1.3 #15

Closed
gadenbuie opened this issue Mar 7, 2020 · 1 comment
Labels

Comments

@gadenbuie
Copy link
Owner

gadenbuie commented Mar 7, 2020

On Windows its ~/AppData/Roaming/RStudio for RStudio >= 1.3 now. Seems like this is final for v1.3.

Soon v1.3 will be the default but maybe @gadenbuie can include a condition anyways? :)

Originally posted by @pat-s in #3 (comment)

@gadenbuie
Copy link
Owner Author

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.

@gadenbuie gadenbuie added the status: complete All done label Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant