From 7082e5362d675389d4bcb85679e53f028787fd39 Mon Sep 17 00:00:00 2001 From: Carson Date: Tue, 8 Aug 2023 15:27:29 -0500 Subject: [PATCH] rstudio -> posit emails; use_package_doc() --- DESCRIPTION | 10 +++++----- R/{imports.R => thematic-package.R} | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) rename R/{imports.R => thematic-package.R} (84%) diff --git a/DESCRIPTION b/DESCRIPTION index 6b68b59a..0fad915f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,10 +2,10 @@ Package: thematic Title: Unified and Automatic 'Theming' of 'ggplot2', 'lattice', and 'base' R Graphics Version: 0.1.3 Authors@R: c( - person("Carson", "Sievert", role = c("aut", "cre"), email = "carson@rstudio.com", comment = c(ORCID = "0000-0002-4958-2844")), - person("Barret", "Schloerke", email = "barret@rstudio.com", role = "aut", comment = c(ORCID = "0000-0001-9986-114X")), - person("Joe", "Cheng", role = "aut", email = "joe@rstudio.com"), - person(family = "RStudio", role = "cph") + person("Carson", "Sievert", role = c("aut", "cre"), email = "carson@posit.co", comment = c(ORCID = "0000-0002-4958-2844")), + person("Barret", "Schloerke", email = "barret@posit.co", role = "aut", comment = c(ORCID = "0000-0001-9986-114X")), + person("Joe", "Cheng", role = "aut", email = "joe@posit.co"), + person("Posit Software, PBC", role = c("cph", "fnd")) ) Description: Theme 'ggplot2', 'lattice', and 'base' graphics based on a few choices, including foreground color, background color, accent color, @@ -57,10 +57,10 @@ Collate: 'ggplot.R' 'globals.R' 'hooks.R' - 'imports.R' 'knitr.R' 'lattice.R' 'onLoad.R' + 'thematic-package.R' 'thematic-save-plot.R' 'thematic.R' 'utils.R' diff --git a/R/imports.R b/R/thematic-package.R similarity index 84% rename from R/imports.R rename to R/thematic-package.R index ad81d962..ffbf7099 100644 --- a/R/imports.R +++ b/R/thematic-package.R @@ -1,7 +1,12 @@ +#' @keywords internal +"_PACKAGE" + +## usethis namespace: start #' @importFrom graphics par plot plot.new #' @importFrom grid grid.newpage grid.draw grid.text gpar seekViewport pushViewport upViewport #' @importFrom grDevices col2rgb dev.new dev.cur dev.off dev.set devAskNewPage palette colorRampPalette #' @importFrom utils capture.output download.file unzip packageVersion modifyList getFromNamespace getS3method assignInNamespace #' @importFrom rlang is_installed list2 %|% #' @importFrom rstudioapi getThemeInfo versionInfo readRStudioPreference +## usethis namespace: end NULL