Skip to content

Commit

Permalink
change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestguevarra committed Mar 9, 2024
1 parent 9843655 commit eb03483
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 42 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Package: oxfordtheme
Package: oxthema
Type: Package
Title: Oxford Palette, Theme, and Theme Components
Version: 0.0.0.9000
Expand Down Expand Up @@ -27,5 +27,5 @@ Language: en-GB
LazyData: true
RoxygenNote: 7.3.1
Roxygen: list(markdown = TRUE)
URL: https://oxford-ihtm.io/oxfordtheme/,https://github.com/OxfordIHTM/oxfordtheme
BugReports: https://github.com/OxfordIHTM/oxfordtheme/issues
URL: https://oxford-ihtm.io/oxthema/,https://github.com/OxfordIHTM/oxthema
BugReports: https://github.com/OxfordIHTM/oxthema/issues
2 changes: 1 addition & 1 deletion R/get_colours.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ get_oxford_colour <- function(pattern = NULL,
model <- match.arg(model)

## Get df ----
df <- oxfordtheme::oxford_colours
df <- oxthema::oxford_colours

## Determine if there is something specific to search for ----
if (!is.null(pattern)) {
Expand Down
2 changes: 1 addition & 1 deletion R/oxford_theme.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#' A generic/base [ggplot2] theme for the oxfordtheme package
#'
#' This generic/base [ggplot2] theme is the template from which all other
#' themes in the [oxfordtheme] package is built on. This theme is inspired by
#' themes in the [oxthema] package is built on. This theme is inspired by
#' Bob Rudis' [hrbrthemes](https://github.com/hrbrmstr/hrbrthemes) package
#' drawing heavily on its typography-centric focus. This function uses the
#' *Roboto* Google font which is the core Oxford san serif font. It is freely
Expand Down
2 changes: 1 addition & 1 deletion R/oxfordtheme.R → R/oxthema.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' <https://communications.web.ox.ac.uk/communications-resources/visual-identity/identity-guidelines>.
#'
#' @md
#' @name oxfordtheme
#' @name oxthema
#' @docType package
#' @author Ernest Guevarra
#' @author Greco Malijan
Expand Down
22 changes: 11 additions & 11 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,38 @@ knitr::opts_chunk$set(
fig.path = "man/figures/README-"
)
library(oxfordtheme)
library(oxthema)
library(ggplot2)
requireNamespace("sf", quietly = TRUE)
```

# oxfordtheme: Oxford Palette, Theme, and Theme Components <img src="man/figures/logo.png" width="200" align="right" />
# oxthema: Oxford Palette, Theme, and Theme Components <img src="man/figures/logo.png" width="200" align="right" />

<!-- badges: start -->
[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/OxfordIHTM/oxfordtheme/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/OxfordIHTM/oxfordtheme/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/OxfordIHTM/oxfordtheme/branch/main/graph/badge.svg)](https://app.codecov.io/gh/OxfordIHTM/oxfordtheme?branch=main)
[![CodeFactor](https://www.codefactor.io/repository/github/oxfordihtm/oxfordtheme/badge)](https://www.codefactor.io/repository/github/oxfordihtm/oxfordtheme)
[![R-CMD-check](https://github.com/OxfordIHTM/oxthema/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/OxfordIHTM/oxthema/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/OxfordIHTM/oxthema/branch/main/graph/badge.svg)](https://app.codecov.io/gh/OxfordIHTM/oxthema?branch=main)
[![CodeFactor](https://www.codefactor.io/repository/github/oxfordihtm/oxthema/badge)](https://www.codefactor.io/repository/github/oxfordihtm/oxthema)
[![DOI](https://zenodo.org/badge/711630340.svg)](https://zenodo.org/doi/10.5281/zenodo.10721129)
<!-- badges: end -->

Palette, theme, and theme components based on [University of Oxford](https://ox.ac.uk)'s [visual identity guidelines](https://communications.web.ox.ac.uk/communications-resources/visual-identity/identity-guidelines).

## What does `oxfordtheme` do?
## What does `oxthema` do?

`oxfordtheme` aims to provide templates, themes, and theme components for colour palettes, typography, and layout compliant with [University of Oxford](https://ox.ac.uk)'s [visual identity guidelines](https://communications.web.ox.ac.uk/communications-resources/visual-identity/identity-guidelines) for use in the R language for statistical computing graphics and publishing ecosystem.
`oxthema` aims to provide templates, themes, and theme components for colour palettes, typography, and layout compliant with [University of Oxford](https://ox.ac.uk)'s [visual identity guidelines](https://communications.web.ox.ac.uk/communications-resources/visual-identity/identity-guidelines) for use in the R language for statistical computing graphics and publishing ecosystem.

Currently, the package provides colour palettes consistent with the colours prescribed by the university visual identity guidelines. Additional templates, themes, and theme components will be included over time.

## Installation

`oxfordtheme` is not yet available on [CRAN](https://cran.r-project.org) but can be installed through the [Oxford IHTM R universe](https://oxfordihtm.r-universe.dev) repository as follows:
`oxthema` is not yet available on [CRAN](https://cran.r-project.org) but can be installed through the [Oxford IHTM R universe](https://oxfordihtm.r-universe.dev) repository as follows:

```R
install.packages(
"oxfordtheme",
"oxthema",
repos = c(
'https://oxfordihtm.r-universe.dev',
'https://cloud.r-project.org'
Expand Down Expand Up @@ -287,6 +287,6 @@ ggplot(data = nut_survey_map) +

## Community guidelines

Feedback, bug reports and feature requests are welcome; file issues or seek support [here](https://github.com/OxfordIHTM/oxfordtheme/issues). If you would like to contribute to the package, please see our [contributing guidelines](https://oxford-ihtm.io/oxfordtheme/CONTRIBUTING.html).
Feedback, bug reports and feature requests are welcome; file issues or seek support [here](https://github.com/OxfordIHTM/oxthema/issues). If you would like to contribute to the package, please see our [contributing guidelines](https://oxford-ihtm.io/oxthema/CONTRIBUTING.html).

This project is released with a [Contributor Code of Conduct](https://oxford-ihtm.io/oxfordtheme/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.
This project is released with a [Contributor Code of Conduct](https://oxford-ihtm.io/oxthema/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# oxfordtheme: Oxford Palette, Theme, and Theme Components <img src="man/figures/logo.png" width="200" align="right" />
# oxthema: Oxford Palette, Theme, and Theme Components <img src="man/figures/logo.png" width="200" align="right" />

<!-- badges: start -->

Expand All @@ -10,22 +10,22 @@ has not yet been a stable, usable release suitable for the
public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
[![Lifecycle:
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/OxfordIHTM/oxfordtheme/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/OxfordIHTM/oxfordtheme/actions/workflows/R-CMD-check.yaml)
[![R-CMD-check](https://github.com/OxfordIHTM/oxthema/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/OxfordIHTM/oxthema/actions/workflows/R-CMD-check.yaml)
[![Codecov test
coverage](https://codecov.io/gh/OxfordIHTM/oxfordtheme/branch/main/graph/badge.svg)](https://app.codecov.io/gh/OxfordIHTM/oxfordtheme?branch=main)
[![CodeFactor](https://www.codefactor.io/repository/github/oxfordihtm/oxfordtheme/badge)](https://www.codefactor.io/repository/github/oxfordihtm/oxfordtheme)
coverage](https://codecov.io/gh/OxfordIHTM/oxthema/branch/main/graph/badge.svg)](https://app.codecov.io/gh/OxfordIHTM/oxthema?branch=main)
[![CodeFactor](https://www.codefactor.io/repository/github/oxfordihtm/oxthema/badge)](https://www.codefactor.io/repository/github/oxfordihtm/oxthema)
[![DOI](https://zenodo.org/badge/711630340.svg)](https://zenodo.org/doi/10.5281/zenodo.10721129)
<!-- badges: end -->

Palette, theme, and theme components based on [University of
Oxford](https://ox.ac.uk)’s [visual identity
guidelines](https://communications.web.ox.ac.uk/communications-resources/visual-identity/identity-guidelines).

## What does `oxfordtheme` do?
## What does `oxthema` do?

`oxfordtheme` aims to provide templates, themes, and theme components
for colour palettes, typography, and layout compliant with [University
of Oxford](https://ox.ac.uk)’s [visual identity
`oxthema` aims to provide templates, themes, and theme components for
colour palettes, typography, and layout compliant with [University of
Oxford](https://ox.ac.uk)’s [visual identity
guidelines](https://communications.web.ox.ac.uk/communications-resources/visual-identity/identity-guidelines)
for use in the R language for statistical computing graphics and
publishing ecosystem.
Expand All @@ -37,13 +37,13 @@ time.

## Installation

`oxfordtheme` is not yet available on [CRAN](https://cran.r-project.org)
but can be installed through the [Oxford IHTM R
`oxthema` is not yet available on [CRAN](https://cran.r-project.org) but
can be installed through the [Oxford IHTM R
universe](https://oxfordihtm.r-universe.dev) repository as follows:

``` r
install.packages(
"oxfordtheme",
"oxthema",
repos = c(
'https://oxfordihtm.r-universe.dev',
'https://cloud.r-project.org'
Expand Down Expand Up @@ -340,11 +340,11 @@ ggplot(data = nut_survey_map) +
## Community guidelines

Feedback, bug reports and feature requests are welcome; file issues or
seek support [here](https://github.com/OxfordIHTM/oxfordtheme/issues).
If you would like to contribute to the package, please see our
seek support [here](https://github.com/OxfordIHTM/oxthema/issues). If
you would like to contribute to the package, please see our
[contributing
guidelines](https://oxford-ihtm.io/oxfordtheme/CONTRIBUTING.html).
guidelines](https://oxford-ihtm.io/oxthema/CONTRIBUTING.html).

This project is released with a [Contributor Code of
Conduct](https://oxford-ihtm.io/oxfordtheme/CODE_OF_CONDUCT.html). By
Conduct](https://oxford-ihtm.io/oxthema/CODE_OF_CONDUCT.html). By
participating in this project you agree to abide by its terms.
2 changes: 1 addition & 1 deletion man/oxford_theme.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/oxfordtheme.Rd → man/oxthema.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
6 changes: 3 additions & 3 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: oxfordtheme
title: oxthema

url: https://oxford-ihtm.io/oxfordtheme/
url: https://oxford-ihtm.io/oxthema/

template:
bootstrap: 5
Expand Down Expand Up @@ -46,7 +46,7 @@ navbar:
reference:
- title: Description
contents:
- oxfordtheme
- oxthema

- title: Palettes
contents:
Expand Down

0 comments on commit eb03483

Please sign in to comment.