Skip to content

Commit

Permalink
support more gh repos
Browse files Browse the repository at this point in the history
  • Loading branch information
richetyann authored Oct 17, 2023
1 parent 0d90862 commit 5af2ca8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
.github_pattern))))
}

.github_repos <- gh::gh("/orgs/Funz/repos",.token=NA)
.github_repos <- gh::gh("/orgs/Funz/repos",.token=NA, per_page=100)
if (length(.github_repos)==0) .github_repos <- NA

############################ Models #################################
Expand Down Expand Up @@ -73,7 +73,7 @@ installed.Models <- function() {
#' }
available.Models <- function(refresh_repo = F) {
if (refresh_repo | any(is.na(.github_repos)))
.env$.github_repos <- gh::gh("/orgs/Funz/repos",.token=NA)
.env$.github_repos <- gh::gh("/orgs/Funz/repos",.token=NA, per_page=100)

gsub("plugin-","",
unlist(lapply(.github_repos,
Expand Down Expand Up @@ -269,7 +269,7 @@ installed.Designs <- function() {
#' }
available.Designs <- function(refresh_repo = F) {
if (refresh_repo | any(is.na(.github_repos)))
.env$.github_repos <- gh::gh("/orgs/Funz/repos",.token=NA)
.env$.github_repos <- gh::gh("/orgs/Funz/repos",.token=NA, per_page=100)

gsub("algorithm-","",
unlist(lapply(.github_repos,
Expand Down

0 comments on commit 5af2ca8

Please sign in to comment.