translations and vignettes
Some checks are pending
pkgdown.yaml / pkgdown (push) Waiting to run

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-09-24 11:33:01 +02:00
commit 9f9a210c41
No known key found for this signature in database
10 changed files with 134 additions and 123 deletions

View file

@ -10,6 +10,7 @@ vignette: >
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
eval = TRUE,
comment = "#>"
)
options(rmarkdown.html_vignette.check_title = FALSE)
@ -17,6 +18,9 @@ options(rmarkdown.html_vignette.check_title = FALSE)
```{r setup}
library(FreesearchR)
i18n_path <- system.file("translations", package = "FreesearchR")
i18n <- shiny.i18n::Translator$new(translation_csvs_path = i18n_path)
i18n$set_translation_language("en")
```
## Basic visualisations
@ -36,7 +40,7 @@ If you want to go further, have a look at these sites with suggestions and sampl
Below are the available plot types listed.
```{r echo = FALSE, eval = TRUE}
```{r echo = FALSE}
c("continuous", "dichotomous", "categorical") |>
lapply(\(.x){
dplyr::bind_cols(