vscode-R
vscode-R copied to clipboard
rstudioapi error with thematic_shiny()
Describe the bug using thematic with shiny gives the following error in the browser plots:
error: This {rstudioapi} function is not currently implemented for VSCode.
To Reproduce Steps to reproduce the behavior:
- Just in any shiny app add thematic_shiny() call before you server function call.
- Run the app using runApp() from console
Can you fix this issue by yourself? (We appreciate the help)
No
Screenshots
Environment (please complete the following information):
- OS: windows 10
- VSCode Version: 1.80.1
- vscode-R: 2.8.1
- R Version: 4.3.1
Good news! This issue is fixed in the latest version of thematic (0.1.3), at least in the sense that you won't get this error anymore. In the future, if vscode-R were to implement rstudioapi::getThemeInfo()
, then thematic will automatically start to pick up on the VSCode colors, otherwise they're currently just ignored.