Skip to content

Commit

Permalink
drop suggests
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Feb 10, 2024
1 parent 1b02049 commit b89daf5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/altdoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
- name: future for altdoc
run: ./run.sh install future

- name: fontawesome for vignette
run: ./run.sh install fontawesome

- name: altdoc dev version
run: ./run.sh install_github "etiennebacher/altdoc"

Expand Down
4 changes: 0 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ Depends:
Enhances:
knitr
Suggests:
altdoc,
dplyr,
fontawesome,
ggplot2,
markdown,
palmerpenguins,
pandoc,
rmarkdown,
rstudioapi,
Expand Down
13 changes: 6 additions & 7 deletions vignettes/tutorial.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -562,11 +562,8 @@ tt(x)
Spanning cells can be particularly useful when we want to suppress redundant labels:

```{r}
library(dplyr)
tab <- mtcars |>
summarize(mpg = mean(mpg), .by = c("cyl", "am")) |>
arrange(cyl, am)
tab <- aggregate(mpg ~ cyl + am, FUN = mean, data = mtcars)
tab <- tab[order(tab$cyl, tab$am),]
tab
tt(tab, digits = 2) |>
Expand Down Expand Up @@ -829,7 +826,9 @@ We can insert arbitrarily complex plots by customizing the `ggplot2` call:
```{r}
#| message: false
#| warning: false
library(palmerpenguins)
penguins <- read.csv(
"https://vincentarelbundock.github.io/Rdatasets/csv/palmerpenguins/penguins.csv",
na.strings = "") |> na.omit()
# split data by species
dat <- split(penguins, penguins$species)
Expand Down Expand Up @@ -861,7 +860,7 @@ tt(tab) |>
plot_tt(j = 2, fun = "histogram", data = body, height = 2) |>
plot_tt(j = 3, fun = "density", data = flip, height = 2) |>
plot_tt(j = 4, fun = f, data = dat, height = 2) |>
style_tt(j = 2:4, align = "c")
style_tt(j = 2:4, align = "c")
```


Expand Down

0 comments on commit b89daf5

Please sign in to comment.