Skip to content

Commit

Permalink
start dev branch with new standards for #31
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Aug 29, 2022
1 parent 3a8dda9 commit 3091102
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/categories.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ srr_stats_categories <- function () {
#' @noRd
list_categories <- function () {

# u <- paste0 (base_url (), "git/trees/main?recursive=1")
u <- paste0 (base_url (raw = TRUE), "main/standards.Rmd")
# u <- paste0 (base_url (raw = TRUE), "main/standards.Rmd")
u <- paste0 (base_url (raw = TRUE), "dev/standards.Rmd")
tmp <- tempfile (fileext = ".Rmd")
ret <- utils::download.file (u, destfile = tmp, quiet = TRUE) # nolint

Expand Down Expand Up @@ -122,6 +122,8 @@ std_prefixes <- function () {
prefixes [cats == "spatial"] <- "SP"
prefixes [cats == "time-series"] <- "TS"
prefixes [cats == "unsupervised"] <- "UL"
prefixes [cats == "distributions"] <- "PD"
prefixes [cats == "networks"] <- "NW"

return (data.frame (
category = cats,
Expand Down

0 comments on commit 3091102

Please sign in to comment.