#' List installed `pip` packages
pip_list <- function(python) {
run(
command = python,
args = c("-m", "pip", "list", "--format", "json"),
stdout = "|",
stderr = NULL
) %$% stdout %>%
from_json(simplify = TRUE) %>%
as_tibble()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.