Browse Source

fonts

master
boB Rudis 5 years ago
parent
commit
ef9c1b3e32
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 1
      NAMESPACE
  2. 11
      R/fontawesome.R
  3. 10
      man/fa5_brand.Rd
  4. 14
      man/fa5_solid.Rd
  5. 4
      vignettes/building-pictograms.Rmd

1
NAMESPACE

@ -5,7 +5,6 @@ export(GeomWaffle)
export(StatWaffle)
export(draw_key_pictogram)
export(fa5_brand)
export(fa5_fonts)
export(fa5_solid)
export(fa_grep)
export(fa_list)

11
R/fontawesome.R

@ -51,19 +51,16 @@ install_fa_fonts <- function() {
)
}
#' Font Awesome 5 easy use font name objets
#' @name fa5_fonts
#' @export
NULL
#' Font Awesome 5 Solid
#'
#' @description `fa5_solid` is shorthand for "`FontAwesome5Free-Solid`"
#' @rdname fa5_fonts
#' @docType data
#' @export
fa5_solid <- "FontAwesome5Free-Solid"
#' Font Awesome 5 Brand
#'
#' @description `fa5_brand` is shorthand for "`FontAwesome5Brands-Regular`"
#' @rdname fa5_fonts
#' @docType data
#' @export
fa5_brand <- "FontAwesome5Brands-Regular"

10
man/fa5_fonts.Rd → man/fa5_brand.Rd

@ -1,20 +1,14 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fontawesome.R
\docType{data}
\name{fa5_fonts}
\alias{fa5_fonts}
\alias{fa5_solid}
\name{fa5_brand}
\alias{fa5_brand}
\title{Font Awesome 5 easy use font name objets}
\title{Font Awesome 5 Brand}
\format{An object of class \code{character} of length 1.}
\usage{
fa5_solid
fa5_brand
}
\description{
`fa5_solid` is shorthand for "`FontAwesome5Free-Solid`"
`fa5_brand` is shorthand for "`FontAwesome5Brands-Regular`"
}
\keyword{datasets}

14
man/fa5_solid.Rd

@ -0,0 +1,14 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fontawesome.R
\docType{data}
\name{fa5_solid}
\alias{fa5_solid}
\title{Font Awesome 5 Solid}
\format{An object of class \code{character} of length 1.}
\usage{
fa5_solid
}
\description{
`fa5_solid` is shorthand for "`FontAwesome5Free-Solid`"
}
\keyword{datasets}

4
vignettes/building-pictograms.Rmd

@ -9,14 +9,14 @@ editor_options:
chunk_output_type: console
---
```{r top, include=FALSE}
```{r setup, include=FALSE}
knitr::opts_chunk$set(
echo = TRUE, message = FALSE, warning = FALSE,
fig.width = 8, fig.height = 6, out.width = "100%"
)
```
```{r setup}
```{r libs}
library(waffle)
library(hrbrthemes)
library(extrafont)

Loading…
Cancel
Save