I am creating a Plumber API that returns the value of an R script to the endpoint. At the end of the R script function I run:
toJSON(as_tibble(data, rownames