ktheme

R package with styling assets and a ggplot2 theme and fonts to conform with the graphical profile for KTH

https://github.com/kth-library/ktheme

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.9%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

R package with styling assets and a ggplot2 theme and fonts to conform with the graphical profile for KTH

Basic Info
  • Host: GitHub
  • Owner: KTH-Library
  • License: agpl-3.0
  • Language: CSS
  • Default Branch: master
  • Size: 7.9 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 6 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"#,
 # out.width = "100%"
)
```

# ktheme


[![R-CMD-check](https://github.com/KTH-Library/ktheme/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/KTH-Library/ktheme/actions/workflows/R-CMD-check.yaml)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)


This is an R package providing some styling resources for web content intended to align with the graphical profile used at KTH Royal Institute of Technology. 

It is heavily inspired by https://github.com/hrbrmstr/hrbrthemes. Most of the graphical design considerations, the package structure used and the functions are either ripped directly or modified slightly from that package. The styling assets and resources are different, though (fonts, templates, color palettes etc) and adapted to [KTH's graphical profile](https://intra.kth.se/en/administration/kommunikation/grafiskprofil)

### Fonts

It includes fonts in the two main font families used in the graphical profile of KTH:

- Figtree (SIL-licensed font)
- Open Sans (used to be the primary font; to be used for web content and for text inside plots)
- Open Sans Condensed is a narrow variant of Open Sans (looks even better in plots)
- Georgia (KTH has a license to use this MS font)

### Templates for rmarkdown content

Two templates are provided for styling `rmarkdown` authored content:

- one for general HTML content with the KTH CSS styles 
- one for PDF output

### Theme for ggplot2

It also provides a `theme_kth_neo()` function which can be used to style ggplots.

## Installation

You can install the development version of `ktheme` from [GitHub](https://github.com/) with: 

``` r
# install.packages("devtools")
devtools::install_github("KTH-Library/ktheme")
```

## Usage

A helper function is available for system-wide install of fonts on Linux OSes:

```{r message = FALSE}
# install from https://github.com/KTH-Library/bibliomatrix
library(ktheme)
if(Sys.info()["sysname"] == "Linux")
  install_fonts_linux()

#library(extrafont)
#extrafont::loadfonts()

# required in the following usage examples 
library(dplyr)
library(ggplot2)
library(Cairo)

```

# Color palettes

Three color palettes are provided; the new standard "kth_palette_neo()", the previous standard "kth_palette()" and the previous "kth_palette_digital()" palette.

Palettes take their starting point in a set of colors used (at different points in time), currently originating from the [KTH signature colors](https://intra.kth.se/en/administration/kommunikation/grafiskprofil/profilfarger-1.845077).

These color palette can be used to color qualitative  data, sequential data and diverging data.

- qualitative palette for use with nominal or unordered categorical values (using the primary KTH profile color (blue), followed by profile colors, each color available in triplets (darker tone, lighter tone, medium tone), thus providing a total of 6 x 3  = 18 colors)
- sequential palette for quantitative magnitudes - high/low values - or for ordered categorical data (the "kth_palette" variant uses the primary color in 5 stepped variations - from the strongest tone stepping towards a neutral gray)
- diverging palette for use with quantitative values centered around some point - or centered ordered categorical data of that same nature (the primary color is used on one end of the palette and the closest complement color on the other to provide a 7-color palette with three steps of blue towards a gray midpoint and three steps of red away from that midpoint)

## Standard KTH palette

This palette is based on the [standard KTH colors](https://intra.kth.se/en/administration/kommunikation/grafiskprofil/profilfarger-1.845077).


```{r, fig.height=1, fig.width=7}

# for nominal categorical coloring, try to use five colors
palette_kth_neo(n = 6) %>% unname %>% show_pal()

# if you need to color more categorical data, use color pairs
palette_kth_neo(n = 12) %>% unname %>% show_pal(nrow = 2, ncol = 6)

# for categorial colors there is a maximum of 15 color triplets
# use with caution as the medium and strong triplet members might be hard to distinguish
palette_kth_neo(n = 18) %>% unname %>% show_pal(ncol = 6, nrow = 3)

# sequential categorical offers a maximum of 5 steps (primary color, fading towards gray)
palette_kth_neo(n = 5, type = "seq") %>% unname %>% show_pal()
palette_kth_neo(n = 5, type = "seq") %>% unname %>% show_pal(borders = FALSE, labels = FALSE)

# diverging categorical offers a maximum of 7 steps (primary color and complementary color, steps towards gray in the middle)
palette_kth_neo(n = 7, type = "div") %>% unname %>% show_pal()
palette_kth_neo(n = 7, type = "div") %>% unname %>% show_pal(labels = FALSE, borders = FALSE)
```

## Palette "KTH Digital"

This palette is based on the previous set of [KTH colors for Digital media](https://intra.kth.se/administration/kommunikation/grafiskprofil/profilfarger-1.845077)

```{r, fig.height=1, fig.width=7}

# all 5 colors (primary and secondary signature colors) in triplets (faded towards gray, "strong", "light" and "medium")
palette_kth_digital(n = 15) %>% unname %>% show_pal(nrow = 5, ncol = 3)

# sequential 5 steps (primary color, fading towards gray)
palette_kth_digital(n = 5, type = "seq") %>% unname %>% show_pal()

# diverging 7 steps (primary color and complementary color, steps towards gray in the middle)
palette_kth_digital(n = 7, type = "div") %>% unname %>% show_pal(labels = FALSE, borders = FALSE)

```

# Usage example

Here are usage examples showing (gg)plots made using the different KTH colour palettes with the Figtree font.

A plain vanilla scatter plot:

```{r}
ggplot(mtcars, aes(mpg, wt)) +
  geom_point() +
  labs(x="Fuel efficiency (mpg)", y="Weight (tons)",
    title="KTH styled ggplot2 scatterplot example",
    subtitle="A plot that is only useful for demonstration purposes",
    caption="Caption goes here!") + 
  theme_kth_neo()
```

Using the KTH palette, qualitative coloring:

```{r}

ggplot(iris, aes(Species, Sepal.Length)) + 
  geom_boxplot(aes(fill = Species)) +
  scale_fill_kth() +
  theme_kth_neo() +
  theme(legend.position = "top")

ggplot(iris, aes(Sepal.Length, Sepal.Width)) + 
  geom_point(aes(color = Species)) +
  scale_color_kth() +
  theme_kth_neo() +
  theme(legend.position = "top")

```

Another example using demo data:

```{r, fig.height=10}
gg <- 
  ggplot(mpg, aes(displ, hwy)) +
  geom_jitter(aes(color=class, fill=class), size=3, shape=21, alpha=1/2) +
  scale_x_continuous(expand=c(0,0), limits=c(1, 8), breaks=1:8) +
  scale_y_continuous(expand=c(0,0), limits=c(10, 50)) +
  scale_color_kth() +
  scale_fill_kth() +
  facet_wrap(~class, scales="free") +
  labs(
    title="KTH styled plots",
    subtitle="These plots show some example data",
    caption="Source: ktheme R package"
  ) +
  theme_kth_neo() +
  theme(legend.position="none")

flush_ticks(gg)
```

Diverging colors:

```{r, fig.height=10}
cars <- 
  mtcars %>%
  mutate(brand = rownames(mtcars)) %>%
  mutate(mpg_z_score = (mpg - mean(mpg, na.rm = TRUE)) / sd(mpg)) %>%
  mutate(mpg_type = ifelse(mpg_z_score < 0, "below", "above")) %>%
  mutate(CarBrand = factor(mpg_type, levels = unique(mpg_type)))

pdiv <- palette_kth_neo(n = 7, type = "div")[c(1, 7)]
names(pdiv) <- NULL

ggplot(cars, aes(x=reorder(brand, mpg_z_score), y=mpg_z_score, label=mpg_z_score)) +
  geom_bar(stat='identity', aes(fill=mpg_type)) +
  scale_fill_manual(name="Mileage (deviation)",
    labels = c("Above Average", "Below Average"),
    values = c("above" = pdiv[1], "below" = pdiv[2])) +
  labs(subtitle="Z score (normalised) mileage for mtcars'",
    title= "Horizontal bar graph", caption="KTH styled graph") +
  theme_kth_neo() +
  theme(
    axis.title.y=element_blank(),
    axis.title.x=element_blank(),
    legend.position="none"
  ) +
  coord_flip()

```

Sequential discrete colors versus qualitative discrete colors:

```{r, fig.height=7, fig.width=10}
library(patchwork)

pdiv <- rev(tolower(palette_kth_neo(n = 5, type = "seq") %>% setNames(NULL)))
dsamp <- diamonds[1 + 1:1000 * 50, ]

gg <- ggplot(dsamp, aes(carat, price, color = cut)) + geom_point()

gg1 <- gg + scale_color_manual(values = pdiv) + 
  theme_kth_neo() + scale_y_comma()

gg2 <- gg + scale_color_kth() + 
  theme_kth_neo() + scale_y_comma()

gg3 <- gg + facet_wrap(~cut, ncol = 5) + scale_color_manual(values = pdiv) + 
  theme_kth_neo() + scale_y_comma() + theme(legend.position="bottom")

gg1 + gg2

```

In this case it might be better to use small multiples (like below) or another type of visual.

```{r, fig.width=10}
gg3
```


Another example with a simple bar plot:

```{r}
#update_geom_font_defaults(family=font_osc)
#import_open_sans_condensed()
#extrafont::loadfonts()

# library(readr)
# ft <- read_csv(system.file("fontmap", "fonttable.csv", package="extrafontdb"))
# regular_osc <- ft %>% filter(FamilyName == "Open Sans Condensed") %>% head(1)
# regular_osc$FullName <- "Open Sans Condensed"
# regular_osc$Bold <- FALSE
# ft_new <- bind_rows(ft, regular_osc)
# write_csv(ft_new, path = system.file("fontmap", "fonttable.csv", package="extrafontdb"))

library(dplyr)
library(ggplot2)

count(mpg, class) %>%
ggplot(aes(class, n)) +
geom_col(aes(fill = class)) +
geom_text(aes(label=paste0("n=", n)), nudge_y=3) +
labs(x="Vehicle category", y="Observations (n)",
     title="Seminal ggplot2 bar chart example",
     subtitle="A plot that is only useful for demonstration purposes",
     caption="A demo of theme_kth_neo") +
theme_kth_neo() +
scale_fill_kth() +
theme(axis.text.y=element_blank())
```

Examples of customized ggplots used in the R package `bibliomatrix`:

```{r}

# library(dplyr)
# library(patchwork)
# suppressPackageStartupMessages(library(bibliomatrix))
# abm_public_kth <- bibliomatrix::abm_public_data()
# 
# # Fetching som data from bibliomatrix::abm_public_kth
# cf <- abm_public_kth$units$KTH[[3]] %>% filter(interval == "Total") %>% pull(cf)
# 
# # this is a ggplot2-based bullet graph
# p1 <- 
#   abm_bullet(label = "Field normalized citations (Cf)", 
#   value = cf, reference = 1.0, roundto = 2) + 
#     theme_kth() + 
#     # override some theme settings
#     theme(
#       plot.title=element_text(size = 12),
#       axis.text.x=element_text(size = 8),
#       axis.title.x=element_blank(),
#       axis.title.y=element_blank(),
#       axis.line.y=element_blank(),
#       axis.line.x=element_blank(),
#       axis.text.y=element_blank(),
#       axis.ticks.x=element_blank(),
#       panel.grid.major=element_blank(),
#       panel.grid.minor=element_blank()
#     )

```

```{r}
# nonuniv_share <- 
#   abm_public_kth$units$KTH[[5]] %>% filter(interval == "Total") %>% pull(nonuniv_share)
# 
# nonuniv_lbl <- 
#   sprintf("Swedish non-university: %d%%", round(100 * nonuniv_share))
# 
# # this is a ggplot2-based waffle chart
# p2 <- abm_waffle_pct(nonuniv_share, label = nonuniv_lbl) +
#   theme_kth() + 
#   # override some theme settings
#   theme(
#     axis.text.y=element_blank(),
#     axis.text.x=element_blank(),
#     legend.position="none"
#   )
# 
# p1 + p2
# 
# 
# # this is a pie - saved for last, the dessert
# 
# df <- data.frame(
#   group = c("Male", "Female", "Child"),
#   value = c(25, 25, 50)
#   )
# 
# pie <-
#   ggplot(df, aes(x = "", y = value, fill = group)) +
#   geom_bar(width = 1, stat = "identity") +
#   coord_polar("y", start = 0) +
#   scale_fill_manual(values = unname(ktheme::palette_kth()), guide = FALSE) +
#   theme_kth_osc(base_family = "Open Sans Condensed Light") + theme(
#     axis.title.x = element_blank(),
#     axis.title.y = element_blank(),
#     panel.border = element_blank(),
#     panel.grid = element_blank(),
#     axis.ticks = element_blank() 
#   ) +
#   geom_text(aes(y = value / 3 + c(0, cumsum(value)[-length(value)]), 
#     label = sprintf("%s\n(%s)", group, scales::percent(value / 100))), size = 5)
# 
# pie
```

Owner

  • Name: KTH Library - Bibliometrics
  • Login: KTH-Library
  • Kind: organization
  • Email: biblioteket@kth.se
  • Location: Stockholm, Sweden

KTH Library - Bibliometric analyses and publishing statistics for KTH

Citation (CITATION.cff)

# -----------------------------------------------------------
# CITATION file created with {cffr} R package, v0.5.0
# See also: https://docs.ropensci.org/cffr/
# -----------------------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "ktheme" in publications use:'
type: software
title: 'ktheme: KTH Profile Theme for ''ggplot2'''
version: 0.2.1
abstract: A 'ggplot2' theme with some extras, aliging with the graphical profile for
  KTH. Copies of the Georgia and Open Sans fonts are included.
authors:
- family-names: Dubus
  given-names: Gaël Serge
  email: dubus@kth.se
- family-names: Jeppson
  given-names: Tobias
  email: tjejp@kth.se
- family-names: Larsson
  given-names: Agne
  email: agnel@kth.se
- family-names: Minguillo
  given-names: David
  email: davidmin@kth.se
- family-names: Skyttner
  given-names: Markus
  email: markussk@kth.se
contact:
- family-names: Skyttner
  given-names: Markus
  email: markussk@kth.se
references:
- type: software
  title: testthat
  abstract: 'testthat: Unit Testing for R'
  notes: Suggests
  url: https://testthat.r-lib.org
  repository: https://CRAN.R-project.org/package=testthat
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2023'
- type: software
  title: gridExtra
  abstract: 'gridExtra: Miscellaneous Functions for "Grid" Graphics'
  notes: Suggests
  repository: https://CRAN.R-project.org/package=gridExtra
  authors:
  - family-names: Auguie
    given-names: Baptiste
    email: baptiste.auguie@gmail.com
  year: '2023'
- type: software
  title: stringi
  abstract: 'stringi: Fast and Portable Character String Processing Facilities'
  notes: Suggests
  url: https://stringi.gagolewski.com/
  repository: https://CRAN.R-project.org/package=stringi
  authors:
  - family-names: Gagolewski
    given-names: Marek
  - family-names: Tartanus
    given-names: Bartek
  - family-names: Unicode
    given-names: others;
  - name: Inc.
  - name: others
  year: '2023'
- type: software
  title: clipr
  abstract: 'clipr: Read and Write from the System Clipboard'
  notes: Suggests
  url: http://matthewlincoln.net/clipr/
  repository: https://CRAN.R-project.org/package=clipr
  authors:
  - family-names: Lincoln
    given-names: Matthew
    email: matthew.d.lincoln@gmail.com
    orcid: https://orcid.org/0000-0002-4387-3384
  year: '2023'
- type: software
  title: svglite
  abstract: 'svglite: An ''SVG'' Graphics Device'
  notes: Suggests
  url: https://svglite.r-lib.org
  repository: https://CRAN.R-project.org/package=svglite
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomas.pedersen@posit.co
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Luciani
    given-names: T Jake
    email: jake@apache.org
  - family-names: Decorde
    given-names: Matthieu
    email: matthieu.decorde@ens-lyon.fr
  - family-names: Lise
    given-names: Vaudor
    email: lise.vaudor@ens-lyon.fr
  year: '2023'
- type: software
  title: 'R: A Language and Environment for Statistical Computing'
  notes: Depends
  url: https://www.R-project.org/
  authors:
  - name: R Core Team
  location:
    name: Vienna, Austria
  year: '2023'
  institution:
    name: R Foundation for Statistical Computing
  version: '>= 3.2.0'
- type: software
  title: ggplot2
  abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
  notes: Imports
  url: https://ggplot2.tidyverse.org
  repository: https://CRAN.R-project.org/package=ggplot2
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Chang
    given-names: Winston
    orcid: https://orcid.org/0000-0002-1576-2126
  - family-names: Henry
    given-names: Lionel
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomas.pedersen@posit.co
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Takahashi
    given-names: Kohske
  - family-names: Wilke
    given-names: Claus
    orcid: https://orcid.org/0000-0002-7470-9261
  - family-names: Woo
    given-names: Kara
    orcid: https://orcid.org/0000-0002-5125-4188
  - family-names: Yutani
    given-names: Hiroaki
    orcid: https://orcid.org/0000-0002-3385-7233
  - family-names: Dunnington
    given-names: Dewey
    orcid: https://orcid.org/0000-0002-9415-4582
  year: '2023'
  version: '>= 2.2.1'
- type: software
  title: grDevices
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  location:
    name: Vienna, Austria
  year: '2023'
  institution:
    name: R Foundation for Statistical Computing
- type: software
  title: grid
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  location:
    name: Vienna, Austria
  year: '2023'
  institution:
    name: R Foundation for Statistical Computing
- type: software
  title: scales
  abstract: 'scales: Scale Functions for Visualization'
  notes: Imports
  url: https://scales.r-lib.org
  repository: https://CRAN.R-project.org/package=scales
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  - family-names: Seidel
    given-names: Dana
  year: '2023'
- type: software
  title: extrafont
  abstract: 'extrafont: Tools for Using Fonts'
  notes: Imports
  url: https://github.com/wch/extrafont
  repository: https://CRAN.R-project.org/package=extrafont
  authors:
  - family-names: Chang
    given-names: Winston
    email: winston@stdout.org
  year: '2023'
- type: software
  title: knitr
  abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
  notes: Imports
  url: https://yihui.org/knitr/
  repository: https://CRAN.R-project.org/package=knitr
  authors:
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  year: '2023'
- type: software
  title: rmarkdown
  abstract: 'rmarkdown: Dynamic Documents for R'
  notes: Imports
  url: https://pkgs.rstudio.com/rmarkdown/
  repository: https://CRAN.R-project.org/package=rmarkdown
  authors:
  - family-names: Allaire
    given-names: JJ
    email: jj@posit.co
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  - family-names: Dervieux
    given-names: Christophe
    email: cderv@posit.co
    orcid: https://orcid.org/0000-0003-4474-2498
  - family-names: McPherson
    given-names: Jonathan
    email: jonathan@posit.co
  - family-names: Luraschi
    given-names: Javier
  - family-names: Ushey
    given-names: Kevin
    email: kevin@posit.co
  - family-names: Atkins
    given-names: Aron
    email: aron@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Cheng
    given-names: Joe
    email: joe@posit.co
  - family-names: Chang
    given-names: Winston
    email: winston@posit.co
  - family-names: Iannone
    given-names: Richard
    email: rich@posit.co
    orcid: https://orcid.org/0000-0003-3925-190X
  year: '2023'
- type: software
  title: htmltools
  abstract: 'htmltools: Tools for HTML'
  notes: Imports
  url: https://rstudio.github.io/htmltools/
  repository: https://CRAN.R-project.org/package=htmltools
  authors:
  - family-names: Cheng
    given-names: Joe
    email: joe@posit.co
  - family-names: Sievert
    given-names: Carson
    email: carson@posit.co
    orcid: https://orcid.org/0000-0002-4958-2844
  - family-names: Schloerke
    given-names: Barret
    email: barret@posit.co
    orcid: https://orcid.org/0000-0001-9986-114X
  - family-names: Chang
    given-names: Winston
    email: winston@posit.co
    orcid: https://orcid.org/0000-0002-1576-2126
  - family-names: Xie
    given-names: Yihui
    email: yihui@posit.co
  - family-names: Allen
    given-names: Jeff
  year: '2023'
- type: software
  title: tools
  abstract: 'R: A Language and Environment for Statistical Computing'
  notes: Imports
  authors:
  - name: R Core Team
  location:
    name: Vienna, Austria
  year: '2023'
  institution:
    name: R Foundation for Statistical Computing
- type: software
  title: magrittr
  abstract: 'magrittr: A Forward-Pipe Operator for R'
  notes: Imports
  url: https://magrittr.tidyverse.org
  repository: https://CRAN.R-project.org/package=magrittr
  authors:
  - family-names: Bache
    given-names: Stefan Milton
    email: stefan@stefanbache.dk
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2023'
- type: software
  title: gdtools
  abstract: 'gdtools: Utilities for Graphical Rendering and Fonts Management'
  notes: Imports
  url: https://davidgohel.github.io/gdtools/
  repository: https://CRAN.R-project.org/package=gdtools
  authors:
  - family-names: Gohel
    given-names: David
    email: david.gohel@ardata.fr
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  - family-names: Henry
    given-names: Lionel
    email: lionel@rstudio.com
  - family-names: Ooms
    given-names: Jeroen
    email: jeroen@berkeley.edu
    orcid: https://orcid.org/0000-0002-4035-0289
  year: '2023'
- type: software
  title: purrr
  abstract: 'purrr: Functional Programming Tools'
  notes: Imports
  url: https://purrr.tidyverse.org/
  repository: https://CRAN.R-project.org/package=purrr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Henry
    given-names: Lionel
    email: lionel@rstudio.com
  year: '2023'
- type: software
  title: tidyr
  abstract: 'tidyr: Tidy Messy Data'
  notes: Imports
  url: https://tidyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=tidyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Vaughan
    given-names: Davis
    email: davis@posit.co
  - family-names: Girlich
    given-names: Maximilian
  year: '2023'
- type: software
  title: dplyr
  abstract: 'dplyr: A Grammar of Data Manipulation'
  notes: Imports
  url: https://dplyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=dplyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: François
    given-names: Romain
    orcid: https://orcid.org/0000-0002-2444-4226
  - family-names: Henry
    given-names: Lionel
  - family-names: Müller
    given-names: Kirill
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Vaughan
    given-names: Davis
    email: davis@posit.co
    orcid: https://orcid.org/0000-0003-4777-038X
  year: '2023'
- type: software
  title: stringr
  abstract: 'stringr: Simple, Consistent Wrappers for Common String Operations'
  notes: Imports
  url: https://stringr.tidyverse.org
  repository: https://CRAN.R-project.org/package=stringr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2023'
- type: software
  title: farver
  abstract: 'farver: High Performance Colour Space Manipulation'
  notes: Imports
  url: https://farver.data-imaginist.com
  repository: https://CRAN.R-project.org/package=farver
  authors:
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomasp85@gmail.com
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Nicolae
    given-names: Berendea
  - family-names: François
    given-names: Romain
    email: romain@purrple.cat
    orcid: https://orcid.org/0000-0002-2444-4226
  year: '2023'
- type: software
  title: hunspell
  abstract: 'hunspell: High-Performance Stemmer, Tokenizer, and Spell Checker'
  notes: Imports
  url: https://docs.ropensci.org/hunspell/
  repository: https://CRAN.R-project.org/package=hunspell
  authors:
  - family-names: Ooms
    given-names: Jeroen
    email: jeroen@berkeley.edu
  year: '2023'

GitHub Events

Total
  • Watch event: 1
  • Delete event: 2
  • Push event: 3
  • Pull request event: 5
  • Create event: 2
Last Year
  • Watch event: 1
  • Delete event: 2
  • Push event: 3
  • Pull request event: 5
  • Create event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 2
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (2)
Top Labels
Issue Labels
Pull Request Labels
dependencies (2) github_actions (1)

Dependencies

DESCRIPTION cran
  • R >= 3.2.0 depends
  • dplyr * imports
  • extrafont * imports
  • farver * imports
  • gdtools * imports
  • ggplot2 >= 2.2.1 imports
  • grDevices * imports
  • grid * imports
  • htmltools * imports
  • hunspell * imports
  • knitr * imports
  • magrittr * imports
  • purrr * imports
  • rmarkdown * imports
  • scales * imports
  • stringr * imports
  • tidyr * imports
  • tools * imports
  • clipr * suggests
  • gridExtra * suggests
  • stringi * suggests
  • svglite * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite