knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  eval = FALSE
)
sysfonts::font_add(
  family = params$font,
  regular = system.file(
    paste0("fonts/", params$font, "-Regular.", params$font_ext),
    package = params$package
  ),
  bold = system.file(
    paste0("fonts/", params$font, "-Bold.", params$font_ext),
    package = params$package
  ),
  italic = system.file(
    paste0("fonts/", params$font, "-Italic.", params$font_ext),
    package = params$package
  ),
  bolditalic = system.file(
    paste0("fonts/", params$font, "-BoldItalic.", params$font_ext),
    package = params$package
  )
)

showtext::showtext_auto()

library(hexSticker)
sticker(
  subplot = paste0("man/figures/", params$package, "_logo.png"),
  s_x = 1,
  s_y = 1.1,
  s_width = 0.5,
  s_height = 0.5,
  package = params$package,
  p_x = 1,
  p_y = 0.5,
  p_color = params$color,
  p_family = params$font,
  p_size = 18,
  h_fill = "#ffffff",
  h_color = params$color,
  url = paste("github.com", params$github, params$package, sep = "/"),
  u_color = "#000000",
  u_family = params$font,
  u_size = 3.5,
  u_x = 1.005,
  u_y = 0.1,
  filename = paste0("man/figures/", params$package, "_hex.png")
)

r params$package

r badger::badge_repostatus("WIP") r badger::badge_lifecycle("experimental") r badger::badge_github_version(color = "yellow") r badger::badge_last_commit(branch = "main") r badger::badge_license()
r badger::badge_github_actions(action = "Style") r badger::badge_github_actions(action = "lint") r badger::badge_github_actions(action = "test-coverage") r badger::badge_github_actions(action = "R-CMD-check")

Overview

The goal of r params$package is to provide helpful functions for WashU statistical consultations.


Installation

You can install r params$package from GitHub with:

pak::pkg_install("`r params$github`/`r params$package`")


Code of Conduct

Please note that the r params$package project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.


Code Style

This package attempts to follow the tidyverse style guide.

The use of {styler} and {lintr} are recommended.


About

Washington University in Saint Louis

Established in 1853, Washington University in Saint Louis is among the world's leaders in teaching, research, patient care, and service to society. Boasting 24 Nobel laureates to date, the University is ranked 7th in the world for most cited researchers, received the 4th highest amount of NIH medical research grants among medical schools in 2019, and was tied for 1st in the United States for genetics and genomics in 2018. The University is committed to learning and exploration, discovery and impact, and intellectual passions and challenging the unknown.



the-mad-statter/washu documentation built on May 5, 2024, 10:26 a.m.