Skip to content

Commit e69fbe3

Browse files
committed
minor
1 parent c408f62 commit e69fbe3

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: unicol
22
Type: Package
33
Title: The Colors of your University
44
Version: 0.2.0.9014
5-
Date: 2024-01-22
5+
Date: 2024-02-02
66
Authors@R: c(person("Hansjoerg", "Neth", role = c("aut", "cre"), email = "h.neth@uni.kn", comment = c(ORCID = "0000-0001-5427-3141")),
77
person("Constantin", "Basler", role = "aut"),
88
person("Paula", "Bauer", role = "aut"),

R/5_util.R

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
## util.R | 2023 10 15
1+
## util.R | 2024 02 02
22
## Utility functions
3-
## -------------------
3+
## -----------------
44

55
# Goal: Analyze and report on unicol_data.
66

77

88

99

10+
1011
# A: Color- or palette-related helpers ------
1112

1213

@@ -24,6 +25,7 @@ n_col <- function(pal_name){
2425

2526

2627

28+
2729
# B: Look-up functions and tables: ------
2830

2931

@@ -150,6 +152,7 @@ lookup <- function(x, df, v_1 = 1, v_2 = 1){
150152

151153

152154

155+
153156
# C: String manipulation helpers: ------
154157

155158
# - extract_matches: A wrapper around regmatches(s, gregexpr(p, s)) ----
@@ -187,6 +190,7 @@ str_rev <- function(x){
187190

188191

189192

193+
190194
# D: Process URLs: ------
191195

192196
# - link_inst: Create a link to inst (given a vector of pal names) ----
@@ -326,6 +330,7 @@ url_2_country <- function(url){
326330

327331

328332

333+
329334
## ToDo: --------
330335

331336
# - obtain country/region from URL, using regex & lookup table/switch

0 commit comments

Comments
 (0)