Hi,
I received this PR for {datapasta} for compatibility with Positron: MilesMcBain/datapasta#145
The issue apparently being Positron does not implement rstudioapi::readRStudioPreference?
Could this be implemented? This function takes a default argument for the case when the preference could not be read. This makes implementation for protocol emulations that do not speak the RStudio preferences a total no-brainer. The VSCode-R extension does:
readRStudioPreference <- function(name, default) {
## in future we could map some rstudio preferences to vscode settings.
## since the caller must provide a default this should work.
default
}
Hi,
I received this PR for
{datapasta}for compatibility with Positron: MilesMcBain/datapasta#145The issue apparently being Positron does not implement
rstudioapi::readRStudioPreference?Could this be implemented? This function takes a
defaultargument for the case when the preference could not be read. This makes implementation for protocol emulations that do not speak the RStudio preferences a total no-brainer. The VSCode-R extension does: