Skip to content

Commit 560b684

Browse files
committed
rename .filterType to .selectType
1 parent 1e02031 commit 560b684

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

R/eventInfo.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
yaml::read_yaml(edata)
1313
}
1414

15-
.filterType <- function(type) {
15+
.selectType <- function(type) {
1616
edata <- .readYmlConfig()
1717
if (!type %in% names(edata))
18-
stop("<internal> 'type' not supported; contact organizers")
18+
stop("<internal> 'format' section in yaml not found")
1919
edata[[type]]
2020
}
2121

@@ -27,7 +27,7 @@
2727
}
2828

2929
eventData <- function(eid, type) {
30-
edata <- .filterType(type)
30+
edata <- .selectType(type)
3131
edata <- .filterCheckEID(edata, eid)
3232
edata[["esticker"]] <- .cache_url_file(edata[["stickerdl"]])
3333
edata

0 commit comments

Comments
 (0)