Skip to content

Commit

Permalink
https
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas-Schmidt committed Jun 27, 2023
1 parent 66e2d44 commit 85471ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,8 @@ c2 <- function(.f){

sfile <- function(file){

if(grepl("https:", file[1])){
if(grepl("^http", file[1])){
file <- stringr::str_replace(file, pattern = "http:", "https:")
if(inherits(file, "surl")){
file <- file
} else {
Expand All @@ -997,7 +998,6 @@ sfile <- function(file){
}



### parse id
# If the identifier (id) has more than 20 characters it will be compressed to 20.
# The same if the id is the same for multiple files. In the latter case a new id will
Expand Down

0 comments on commit 85471ef

Please sign in to comment.