Skip to content

Commit

Permalink
less warn
Browse files Browse the repository at this point in the history
  • Loading branch information
richetyann authored Oct 23, 2023
1 parent e792d56 commit 277249f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ installed.Models <- function() {
#' }
available.Models <- function(refresh_repo = F) {
if (refresh_repo | any(is.na(.github_repos)))
.github_repos <- jsonlite::fromJSON(readLines(curl::curl("https://api.github.com/orgs/Funz/repos?per_page=100")))
.github_repos <- jsonlite::fromJSON(readLines(curl::curl("https://api.github.com/orgs/Funz/repos?per_page=100"),warn=FALSE))
# not working behind some proxy: gh::gh("/orgs/Funz/repos",.token=NA, per_page=100)

gsub("plugin-","",
Expand Down Expand Up @@ -271,7 +271,7 @@ installed.Designs <- function() {
#' }
available.Designs <- function(refresh_repo = F) {
if (refresh_repo | any(is.na(.github_repos)))
.github_repos <- jsonlite::fromJSON(readLines(curl::curl("https://api.github.com/orgs/Funz/repos?per_page=100")))
.github_repos <- jsonlite::fromJSON(readLines(curl::curl("https://api.github.com/orgs/Funz/repos?per_page=100"),warn=FALSE))
# not working behind some proxy: gh::gh("/orgs/Funz/repos",.token=NA, per_page=100)

gsub("algorithm-","",
Expand Down

0 comments on commit 277249f

Please sign in to comment.