-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1322 from ropensci/1314
Content-addressable storage
- Loading branch information
Showing
92 changed files
with
2,377 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
resources_repository_cas_init <- function( | ||
envvars = NULL | ||
) { | ||
resources_repository_cas_new( | ||
envvars = envvars | ||
) | ||
} | ||
|
||
resources_repository_cas_new <- function( | ||
envvars = NULL | ||
) { | ||
force(envvars) | ||
enclass(environment(), c("tar_resources_repository_cas", "tar_resources")) | ||
} | ||
|
||
#' @export | ||
resources_validate.tar_resources_repository_cas <- function(resources) { | ||
if (!is.null(resources$envvars)) { | ||
tar_assert_chr(resources$envvars) | ||
tar_assert_none_na(resources$envvars) | ||
tar_assert_named(resources$controller) | ||
} | ||
} | ||
|
||
#' @export | ||
print.tar_resources_repository_cas <- function(x, ...) { | ||
cat( | ||
"<tar_resources_repository_cas>\n ", | ||
paste0(paste_list(as.list(x)), collapse = "\n ") | ||
) | ||
} |
Oops, something went wrong.