Skip to content

Commit

Permalink
Merge branch 'sharepoint-functions' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
sambtalcott committed Nov 21, 2024
2 parents 418f903 + dd908e8 commit f688cf1
Show file tree
Hide file tree
Showing 28 changed files with 1,359 additions and 36 deletions.
8 changes: 5 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: tntpr
Title: Data Analysis Tools Customized for TNTP
Version: 1.1.0
Version: 1.2.0
Authors@R: c(
person("Dustin", "Pashouwer", role = c("aut", "cre"),
email = "[email protected]"),
Expand Down Expand Up @@ -32,7 +32,7 @@ Imports:
keyring,
labelled,
lubridate (>= 1.7.4),
magrittr (>= 1.5),
Microsoft365R,
purrr (>= 0.3.3),
readr,
rlang,
Expand All @@ -52,7 +52,9 @@ Suggests:
ggalt,
forcats,
qualtRics,
haven
haven,
readxl,
writexl
VignetteBuilder:
knitr
Encoding: UTF-8
Expand Down
13 changes: 12 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ export(setup_subdirectory)
export(show_in_excel)
export(show_tntp_colors)
export(show_tntp_palette)
export(sp_create_folder)
export(sp_defaults)
export(sp_download)
export(sp_drive)
export(sp_list)
export(sp_list_drives)
export(sp_list_sites)
export(sp_list_subsites)
export(sp_read)
export(sp_site)
export(sp_upload)
export(sp_write)
export(tableN)
export(theme_tntp)
export(theme_tntp_2018)
Expand All @@ -42,5 +54,4 @@ export(update_tntpr)
importFrom(formattable,percent)
importFrom(ggplot2,"%+replace%")
importFrom(ggplot2,theme_minimal)
importFrom(magrittr,"%>%")
importFrom(rlang,`%||%`)
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# tntpr ??
# tntpr 1.2.0

* Added sp_*() family of functions for reading from / writing to Sharepoint.

* Fixed tntp_colors() to return supplied names if given

Expand Down
4 changes: 2 additions & 2 deletions R/palette_tntp.R
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ palette_tntp_scales <- function(palette = palette_names) {
#' library(ggplot2)
#' library(dplyr)
#'
#' x <- mtcars %>%
#' count(cyl, am) %>%
#' x <- mtcars |>
#' count(cyl, am) |>
#' mutate(am = as.factor(am))
#'
#' ggplot(x, aes(x = cyl, y = n, fill = am)) + # you need a fill aesthetic
Expand Down
Loading

0 comments on commit f688cf1

Please sign in to comment.