Skip to content

Commit

Permalink
final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
yjunechoe committed Apr 26, 2024
1 parent 578d26c commit 07ba83a
Show file tree
Hide file tree
Showing 189 changed files with 484 additions and 215 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ggtrace (development version)

## ggtrace 0.7.1

- Exported shorthand aliases for all workflow functions. E.g., `inspect_n()` complement to `ggtrace_inspect_n()`

- Cleaned up examples and tests to align with `{ggplot2}` version 3.5.0

## ggtrace 0.7.0

Upkeep release for the [JSM 2023 talk](https://ww2.aievolution.com/JSMAnnual/index.cfm?do=ev.viewEv&ev=2860) "Sub-layer modularity in the Grammar of Graphics".
Expand Down
2 changes: 1 addition & 1 deletion R/ggedit.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#' @return NULL
#' @export
#'
#' @examplesIf interactive()
#' @examples
#' \dontrun{
#'
#' jitter_plot <- ggplot(diamonds[1:1000,], aes(cut, depth)) +
Expand Down
4 changes: 3 additions & 1 deletion R/last-errorcontext.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
#' Prioritizes showing the state of layer data whenever possible (by extracting the `data` argument).
#' @export
#'
#' @examplesIf interactive()
#' @examples
#' \dontrun{
#' library(ggplot2)
#' erroring_barplot1 <- ggplot(mtcars, aes(mpg, hp)) +
#' stat_summary(fun.data = "mean_se") +
Expand Down Expand Up @@ -58,6 +59,7 @@
#' last_layer_errorcontext()
#' last_sublayer_errorcontext()
#'
#' }
last_layer_errorcontext <- function(reprint_error = FALSE, ggtrace_notes = TRUE) { # nocov start
p <- eval.parent(rlang::call2(call("::", rlang::sym("ggplot2"), rlang::sym("last_plot"))))
tr <- rlang::last_trace()
Expand Down
3 changes: 2 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ knitr::opts_chunk$set(
# **{ggtrace}** <img class="logo" src="man/figures/logo.png" align="right" style="width:120px;" />

<!-- badges: start -->
[![](https://img.shields.io/badge/devel%20version-0.7.0-gogreen.svg)](https://github.com/yjunechoe/ggtrace)
[![](https://img.shields.io/badge/devel%20version-0.7.1-gogreen.svg)](https://github.com/yjunechoe/ggtrace)
[![](https://img.shields.io/badge/tested%20on%20ggplot2%20version-3.5.1-gogreen.svg)](https://github.com/tidyverse/ggplot2/tree/v3.5.1)
[![R-CMD-check](https://github.com/yjunechoe/ggtrace/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/yjunechoe/ggtrace/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/yjunechoe/ggtrace/branch/main/graph/badge.svg)](https://app.codecov.io/gh/yjunechoe/ggtrace?branch=main)
<!-- badges: end -->
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

<!-- badges: start -->

[![](https://img.shields.io/badge/devel%20version-0.7.0-gogreen.svg)](https://github.com/yjunechoe/ggtrace)
[![](https://img.shields.io/badge/devel%20version-0.7.1-gogreen.svg)](https://github.com/yjunechoe/ggtrace)
[![](https://img.shields.io/badge/tested%20on%20ggplot2%20version-3.5.1-gogreen.svg)](https://github.com/tidyverse/ggplot2/tree/v3.5.1)
[![R-CMD-check](https://github.com/yjunechoe/ggtrace/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/yjunechoe/ggtrace/actions/workflows/R-CMD-check.yaml)
[![Codecov test
coverage](https://codecov.io/gh/yjunechoe/ggtrace/branch/main/graph/badge.svg)](https://app.codecov.io/gh/yjunechoe/ggtrace?branch=main)
Expand Down
6 changes: 3 additions & 3 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 07ba83a

Please sign in to comment.