diff --git a/NEWS.md b/NEWS.md index fe3704dd..e5bfd058 100644 --- a/NEWS.md +++ b/NEWS.md @@ -17,9 +17,9 @@ preventing problems when also using dplyr (#177). - `Content$tag_delete()` removes the tag from the target content item rather than removing the tag entirely. (#194) +- `audit_r_versions()` returns a bar chart instead of a histogram (#179) - Fix issue with `NULL` or `length 1` job outputs ([#193](https://github.com/rstudio/connectapi/issues/193)) - # connectapi 0.1.3.1 - Fix generated documentation HTML for CRAN submission diff --git a/R/audits.R b/R/audits.R index 406275cc..b4bfc612 100644 --- a/R/audits.R +++ b/R/audits.R @@ -104,7 +104,7 @@ audit_r_versions <- function(apps) { # histogram p1 <- ggplot2::ggplot(timeline) + - ggplot2::geom_histogram(ggplot2::aes(r_version), stat = "count") + + ggplot2::geom_bar(ggplot2::aes(r_version)) + ggplot2::theme_minimal() + ggplot2::labs( title = "Distribution of Content by R Version",