File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -591,14 +591,16 @@ universe_name_fallback <- function(){
591591
592592universe_info <- function (){
593593 name <- Sys.getenv(' UNIVERSE_NAME' , universe_name_fallback())
594- universe <- switch (name ,
595- ' bioc' = ' bioconductor' ,
596- ' bioc-release' = ' bioconductor' ,
597- ' r-multiverse-staging' = ' r-multiverse' ,
598- ' ropensci-champions' = ' ropensci' ,
599- name
600- )
601- gh :: gh(sprintf(' /users/%s' , universe ))
594+ if (nchar(name )){
595+ universe <- switch (name ,
596+ ' bioc' = ' bioconductor' ,
597+ ' bioc-release' = ' bioconductor' ,
598+ ' r-multiverse-staging' = ' r-multiverse' ,
599+ ' ropensci-champions' = ' ropensci' ,
600+ name
601+ )
602+ gh :: gh(sprintf(' /users/%s' , universe ))
603+ }
602604}
603605
604606current_info <- function (package ){
You can’t perform that action at this time.
0 commit comments