Skip to content

Commit cee7e68

Browse files
committed
Update for master --> main
Closes #285
1 parent b5fce89 commit cee7e68

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ knitr::opts_chunk$set(
1717
<!-- badges: start -->
1818
[![CRAN status](https://www.r-pkg.org/badges/version/forcats)](https://cran.r-project.org/package=forcats)
1919
[![R-CMD-check](https://github.com/tidyverse/forcats/workflows/R-CMD-check/badge.svg)](https://github.com/tidyverse/forcats/actions)
20-
[![Codecov test coverage](https://codecov.io/gh/tidyverse/forcats/branch/master/graph/badge.svg)](https://codecov.io/gh/tidyverse/forcats?branch=master)
20+
[![Codecov test coverage](https://codecov.io/gh/tidyverse/forcats/branch/main/graph/badge.svg)](https://codecov.io/gh/tidyverse/forcats?branch=main)
2121
<!-- badges: end -->
2222

2323
## Overview
@@ -47,7 +47,7 @@ devtools::install_github("tidyverse/forcats")
4747

4848
## Cheatsheet
4949

50-
<a href="https://github.com/rstudio/cheatsheets/raw/master/factors.pdf"><img src="https://raw.githubusercontent.com/rstudio/cheatsheets/master/pngs/thumbnails/forcats-cheatsheet-thumbs.png" width="320" height="252"/></a>
50+
<a href="https://github.com/rstudio/cheatsheets/raw/HEAD/factors.pdf"><img src="https://github.com/rstudio/cheatsheets/raw/HEAD/pngs/thumbnails/forcats-cheatsheet-thumbs.png" width="320" height="252"/></a>
5151

5252
## Getting started
5353

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
status](https://www.r-pkg.org/badges/version/forcats)](https://cran.r-project.org/package=forcats)
1010
[![R-CMD-check](https://github.com/tidyverse/forcats/workflows/R-CMD-check/badge.svg)](https://github.com/tidyverse/forcats/actions)
1111
[![Codecov test
12-
coverage](https://codecov.io/gh/tidyverse/forcats/branch/master/graph/badge.svg)](https://codecov.io/gh/tidyverse/forcats?branch=master)
12+
coverage](https://codecov.io/gh/tidyverse/forcats/branch/main/graph/badge.svg)](https://codecov.io/gh/tidyverse/forcats?branch=main)
1313
<!-- badges: end -->
1414

1515
## Overview
@@ -45,7 +45,7 @@ factors](https://r4ds.had.co.nz/factors.html) in R for Data Science.
4545

4646
## Cheatsheet
4747

48-
<a href="https://github.com/rstudio/cheatsheets/raw/master/factors.pdf"><img src="https://raw.githubusercontent.com/rstudio/cheatsheets/master/pngs/thumbnails/forcats-cheatsheet-thumbs.png" width="320" height="252"/></a>
48+
<a href="https://github.com/rstudio/cheatsheets/raw/HEAD/factors.pdf"><img src="https://github.com/rstudio/cheatsheets/raw/HEAD/pngs/thumbnails/forcats-cheatsheet-thumbs.png" width="320" height="252"/></a>
4949

5050
## Getting started
5151

@@ -62,7 +62,7 @@ library(ggplot2)
6262
starwars %>%
6363
filter(!is.na(species)) %>%
6464
count(species, sort = TRUE)
65-
#> # A tibble: 37 x 2
65+
#> # A tibble: 37 × 2
6666
#> species n
6767
#> <chr> <int>
6868
#> 1 Human 35
@@ -83,9 +83,9 @@ starwars %>%
8383
filter(!is.na(species)) %>%
8484
mutate(species = fct_lump(species, n = 3)) %>%
8585
count(species)
86-
#> # A tibble: 4 x 2
86+
#> # A tibble: 4 × 2
8787
#> species n
88-
#> * <fct> <int>
88+
#> <fct> <int>
8989
#> 1 Droid 6
9090
#> 2 Gungan 3
9191
#> 3 Human 35
@@ -116,7 +116,7 @@ For a history of factors, I recommend [*stringsAsFactors: An
116116
unauthorized
117117
biography*](https://simplystatistics.org/2015/07/24/stringsasfactors-an-unauthorized-biography/)
118118
by Roger Peng and [*stringsAsFactors =
119-
&lt;sigh&gt;*](https://notstatschat.tumblr.com/post/124987394001/stringsasfactors-sigh)
119+
\<sigh>*](https://notstatschat.tumblr.com/post/124987394001/stringsasfactors-sigh)
120120
by Thomas Lumley. If you want to learn more about other approaches to
121121
working with factors and categorical data, I recommend [*Wrangling
122122
categorical data in R*](https://peerj.com/preprints/3163/), by Amelia

man/figures/README-ordered-plot-1.png

-11 Bytes
Loading
-11 Bytes
Loading

0 commit comments

Comments
 (0)