Skip to content

Commit

Permalink
Support loading data from URLs.
Browse files Browse the repository at this point in the history
Closes #50
See also #52 and #78
  • Loading branch information
charles-plessy committed Jun 30, 2023
1 parent 5b476d5 commit 499a167
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/ImportMethods.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ setGeneric( "getCTSS"

checkFilesExist <- function(paths) {
for (f in paths)
if (! file.exists(f)) stop("Could not locate input file ", f)
if (isFALSE(grepl("^http", f)))
if (! file.exists(f)) stop("Could not locate input file ", f)
}

#' toCTSSdt
Expand Down

0 comments on commit 499a167

Please sign in to comment.