Skip to content

Commit

Permalink
Update for master --> main
Browse files Browse the repository at this point in the history
Closes #394
  • Loading branch information
jennybc committed Mar 4, 2022
1 parent d30379f commit 735dda4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- badges: start -->
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/reprex)](https://cran.r-project.org/package=reprex)
[![R-CMD-check](https://github.com/tidyverse/reprex/workflows/R-CMD-check/badge.svg)](https://github.com/tidyverse/reprex/actions)
[![Codecov test coverage](https://codecov.io/gh/tidyverse/reprex/branch/master/graph/badge.svg)](https://codecov.io/gh/tidyverse/reprex?branch=master)
[![Codecov test coverage](https://codecov.io/gh/tidyverse/reprex/branch/main/graph/badge.svg)](https://codecov.io/gh/tidyverse/reprex?branch=main)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
<!-- badges: end -->

Expand Down
4 changes: 2 additions & 2 deletions vignettes/articles/datapasta-reprex.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ It's easy to copy and paste nicely formatted data from a spreadsheet with datapa
3. Be sure to assign your data frame to a name, so you can use it elsewhere in your reprex.

<div class="figure" style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/datapasta_w_reprex_sheet_to_tribble.gif" alt="Gif of using datapasta::tribble_paste() to get data from a spreadsheet as R code for use in a reprex" style="width: 100%;max-height: 100%" />
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/datapasta_w_reprex_sheet_to_tribble.gif" alt="Gif of using datapasta::tribble_paste() to get data from a spreadsheet as R code for use in a reprex" style="width: 100%;max-height: 100%" />
<p class = "caption"><code>datapasta::tribble_paste()</code></p>
</div>

Expand All @@ -29,7 +29,7 @@ While the output of `tribble_paste()` doesn't have the same level of detail it w
Now let’s say you have a data frame in R that you want to use in a reprex. You can use datapasta's `dpasta()` function to render your object into the same format as the result of `tribble_paste()`, above.

<div class="figure" style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/dpasta_datapasta_reprex.gif" alt="Gif of using datapasta::dpasta() to convert an R data frame into the R code needed to define it in a reprex" style="width: 100%;max-height: 100%" />
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/dpasta_datapasta_reprex.gif" alt="Gif of using datapasta::dpasta() to convert an R data frame into the R code needed to define it in a reprex" style="width: 100%;max-height: 100%" />
<p class = "caption"><code>datapasta::dpasta()</code></p>
</div>

Expand Down
12 changes: 6 additions & 6 deletions vignettes/articles/magic-reprex.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ In the fashion of the times right now, I'll illustrate reprex with a gif, which

<p>
<div style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/reprex-copy.gif" alt="Gif of reprex copying code, running reprex, and demonstrating the html preview of the code text" style="width: 100%;max-height: 100%" />
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/reprex-copy.gif" alt="Gif of reprex copying code, running reprex, and demonstrating the html preview of the code text" style="width: 100%;max-height: 100%" />
</div>
</p>

Expand All @@ -36,7 +36,7 @@ This means you can copy this to say, GitHub (`reprex(venue = "gh")`) (the defaul

<p>
<div style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/reprex-github.gif" alt="Gif of reprex copying code, running reprex, and demonstrating the html preview of the code text" style="width: 100%;max-height: 100%" />
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/reprex-github.gif" alt="Gif of reprex copying code, running reprex, and demonstrating the html preview of the code text" style="width: 100%;max-height: 100%" />
</div>
</p>

Expand All @@ -47,15 +47,15 @@ This means that `reprex()` will fail hard and fail early if your examples aren't

<p>
<div style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/reprex-fail-1.gif" alt="Gif of reprex copying code, running reprex, and demonstrating the html preview of the code text" style="width: 100%;max-height: 100%" />
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/reprex-fail-1.gif" alt="Gif of reprex copying code, running reprex, and demonstrating the html preview of the code text" style="width: 100%;max-height: 100%" />
</div>
</p>

But then when you fix that, by adding library calls to [`visdat`](https://github.com/njtierney/visdat), [`ggplot2`](https://github.com/tidyverse/ggplot2) and [`naniar`](https://github.com/njtierney/naniar), and you get what you want:

<p>
<div style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/reprex-success-1.gif" alt="Gif of reprex copying code, running reprex, and demonstrating the html preview of the code text using visdat, naniar, and ggplot2 packages" style="width: 100%;max-height: 100%" />
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/reprex-success-1.gif" alt="Gif of reprex copying code, running reprex, and demonstrating the html preview of the code text using visdat, naniar, and ggplot2 packages" style="width: 100%;max-height: 100%" />
</div>
</p>

Expand Down Expand Up @@ -146,7 +146,7 @@ You can even show the results of the `session_info()`, for maximum reproducibili

<p>
<div style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/reprex-si.gif" alt="Gif of reprex copying code, running reprex, showing option SI = TRUE" style="width: 100%;max-height: 100%" />
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/reprex-si.gif" alt="Gif of reprex copying code, running reprex, showing option SI = TRUE" style="width: 100%;max-height: 100%" />
</div>
</p>

Expand All @@ -160,7 +160,7 @@ You save time and energy, and can focus more on **doing what you want to do**, a

<p>
<div style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/ProgrammerInterrupted.png" alt="Why you shouldn't interrupt a programmer" style="max-height: 100%"/>
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/ProgrammerInterrupted.png" alt="Why you shouldn't interrupt a programmer" style="max-height: 100%"/>
</div>
</p>

Expand Down
2 changes: 1 addition & 1 deletion vignettes/articles/rtf.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Syntax highlighting is a non-issue for `venue = "gh"` (GitHub) and `venue = "so"

<p>
<div style="height: auto">
<img src="https://raw.githubusercontent.com/tidyverse/reprex/master/img/reprex_rtf_jennybryan.gif" alt="Gif of setting options to control highlight and using reprex with the RTF venue" style="width: 100%;max-height: 100%" />
<img src="https://raw.githubusercontent.com/tidyverse/reprex/main/img/reprex_rtf_jennybryan.gif" alt="Gif of setting options to control highlight and using reprex with the RTF venue" style="width: 100%;max-height: 100%" />
</div>
</p>

Expand Down

0 comments on commit 735dda4

Please sign in to comment.