File tree Expand file tree Collapse file tree 5 files changed +42
-11
lines changed
Expand file tree Collapse file tree 5 files changed +42
-11
lines changed Original file line number Diff line number Diff line change 11Package: ojothemes
22Title: OJO, OKPI, and TOK themes for ggplot2 and gt
3- Version: 1.0.0
4- Authors@R:
3+ Version: 1.1.1
4+ Authors@R:
55 c(
66 person(
77 given = "Andrew",
@@ -14,6 +14,12 @@ Authors@R:
1414 family = "Flores",
1515 email = "aflores@okpolicy.com",
1616 role = "aut"
17+ ),
18+ person(
19+ given = "Brancen",
20+ family = "Gregory",
21+ email = "brancengregory@gmail.com",
22+ role = "aut"
1723 ))
1824Description: This package contains themes for ggplot2 plots and gt tables that follow the styles of OJO / OKPI / TOK.
1925License: GPL (>= 3) + file LICENSE
@@ -29,6 +35,7 @@ Imports:
2935 lifecycle,
3036 rlang,
3137 showtext,
38+ snakecase,
3239 stringr,
3340 sysfonts,
3441 tidyselect
Original file line number Diff line number Diff line change 1+ # ojothemes 1.1.1 (2025-04-20)
2+
3+ * Actually does that...
4+
5+ # ojothemes 1.1.0 (2025-04-20)
6+
7+ * Brings clean "Title Case" to column headers created by gt_ * functions using ` {snakecase} `
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ gt_base <- function(data,
2222 analyst_name = NA , source = NA
2323){
2424 x <- data | >
25+ dplyr :: rename_with(snakecase :: to_title_case ) | >
2526 gt :: gt() | >
2627 gt :: tab_options(
2728 heading.align = " left" ,
Original file line number Diff line number Diff line change 11Version: 1.0
2+ <<<<<<< HEAD
23ProjectId: dbb40723-0e10-4333-8c74-31eb8b4cdc6f
4+ =======
5+ ProjectId: dcac9368-96f0-4eb3-950b-b0aeafb74acb
6+ >>>>>>> 6e9db91f3a823a732b948a96cedf7f4f19b93f61
37
48RestoreWorkspace: No
59SaveWorkspace: No
Original file line number Diff line number Diff line change 11{
22 "R": {
3- "Version": "4.4.2 ",
3+ "Version": "4.5.0 ",
44 "Repositories": [
55 {
66 "Name": "CRAN",
179179 },
180180 "curl": {
181181 "Package": "curl",
182- "Version": "5 .2.3 ",
182+ "Version": "6 .2.2 ",
183183 "Source": "Repository",
184184 "Repository": "CRAN",
185185 "Requirements": [
186186 "R"
187187 ],
188- "Hash": "d91263322a58af798f6cf3b13fd56dde "
188+ "Hash": "e4f9e10b18f453a1b7eaf38247dad4fe "
189189 },
190190 "digest": {
191191 "Package": "digest",
458458 },
459459 "knitr": {
460460 "Package": "knitr",
461- "Version": "1.49 ",
461+ "Version": "1.50 ",
462462 "Source": "Repository",
463463 "Repository": "CRAN",
464464 "Requirements": [
470470 "xfun",
471471 "yaml"
472472 ],
473- "Hash": "9fcb189926d93c636dea94fbe4f44480 "
473+ "Hash": "5a07d8ec459d7b80bd4acca5f4a6e062 "
474474 },
475475 "labeling": {
476476 "Package": "labeling",
671671 },
672672 "rlang": {
673673 "Package": "rlang",
674- "Version": "1.1.4 ",
674+ "Version": "1.1.6 ",
675675 "Source": "Repository",
676676 "Repository": "CRAN",
677677 "Requirements": [
678678 "R",
679679 "utils"
680680 ],
681- "Hash": "3eec01f8b1dee337674b2e34ab1f9bc1 "
681+ "Hash": "892124978869b74935dc3934c42bfe5a "
682682 },
683683 "rmarkdown": {
684684 "Package": "rmarkdown",
760760 ],
761761 "Hash": "c12e756cf947e58b0f2c2a520521a5a8"
762762 },
763+ "snakecase": {
764+ "Package": "snakecase",
765+ "Version": "0.11.1",
766+ "Source": "Repository",
767+ "Repository": "CRAN",
768+ "Requirements": [
769+ "R",
770+ "stringi",
771+ "stringr"
772+ ],
773+ "Hash": "58767e44739b76965332e8a4fe3f91f1"
774+ },
763775 "stringi": {
764776 "Package": "stringi",
765777 "Version": "1.8.4",
890902 },
891903 "xfun": {
892904 "Package": "xfun",
893- "Version": "0.49 ",
905+ "Version": "0.52 ",
894906 "Source": "Repository",
895907 "Repository": "CRAN",
896908 "Requirements": [
899911 "stats",
900912 "tools"
901913 ],
902- "Hash": "8687398773806cfff9401a2feca96298 "
914+ "Hash": "652ce36fe7d57688e6786819b09d9190 "
903915 },
904916 "xml2": {
905917 "Package": "xml2",
You can’t perform that action at this time.
0 commit comments