Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jul 8, 2024
1 parent 998f603 commit e804bf7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions vignettes/tidyverse_translation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ evaluate_chunk <- TRUE
if (!all(vapply(pkgs, requireNamespace, quietly = TRUE, FUN.VALUE = logical(1L))) || getRversion() < "4.1.0") {
evaluate_chunk <- FALSE
}
row <- function(...) {
div(
class = "custom_note",
...
)
}
```

This vignette can be referred to by citing the following:
Expand All @@ -46,6 +53,12 @@ Patil et al., (2022). datawizard: An R Package for Easy Data Preparation and Sta
.tidyverse, .tidyverse > .sourceCode {
background-color: #d9f2e5;
}
.custom_note {
border-left: solid 5px hsl(220, 100%, 30%);
background-color: hsl(220, 100%, 95%);
padding: 5px;
margin-bottom: 10px
}
```

# Introduction
Expand All @@ -66,6 +79,10 @@ In this article, we will see how to go through basic data wrangling steps with
This way, if you decide to make the switch, you can easily find the translations here.
This vignette is largely inspired from `{dplyr}`'s [Getting started vignette](https://dplyr.tidyverse.org/articles/dplyr.html).

```{r echo=FALSE}
row("Note: In this vignette, we use the native pipe-operator, `|>`, which was introduced in R 4.1. Users of R version 3.6 or 4.0 should replace the native pipe by magrittr's one (`%>%`) so that examples work.")

Check warning on line 83 in vignettes/tidyverse_translation.Rmd

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=vignettes/tidyverse_translation.Rmd,line=83,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 210 characters.
```

```{r, eval = evaluate_chunk}
library(dplyr)
library(tidyr)
Expand Down

0 comments on commit e804bf7

Please sign in to comment.