We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We currently have client$server_settings_r but I couldn't find a good way to get everything. Here's a possible implementation:
client$server_settings_r
library(connectapi) library(purrr) client <- connect() tidy_settings <- function(type = c("r", "python", "quarto")) { type = match.arg(type) settings = client$GET(paste0("v1/server_settings/", type)) out = map_dfr(settings$installations, ~as.data.frame(.)) out$runtime = type return(out[, c("runtime", "version")]) } map_dfr(c("python", "r", "quarto"), tidy_settings)
The text was updated successfully, but these errors were encountered:
Added as get_runtimes(client) in #320.
get_runtimes(client)
Sorry, something went wrong.
No branches or pull requests
We currently have
client$server_settings_r
but I couldn't find a good way to get everything. Here's a possible implementation:The text was updated successfully, but these errors were encountered: