-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e85c61
commit 92f8d25
Showing
9 changed files
with
289 additions
and
213 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,23 +6,27 @@ Description: Suite of tools for managing cached files, targeting | |
Provides utilities to manage cache directories, including targeting | ||
files by path or by key; cached directories can be compressed and | ||
uncompressed easily to save disk space. | ||
Version: 0.5.2 | ||
Authors@R: c(person("Scott", "Chamberlain", role = c("aut", "cre"), | ||
email = "[email protected]")) | ||
Version: 0.5.3 | ||
Authors@R: c(person("Scott", "Chamberlain", role = "aut", | ||
comment = c(ORCID="0000-0003-2542-2202")), | ||
person("Tamás", "Stirling", role = c("ctb", "cre"), | ||
email = "[email protected]")) | ||
License: MIT + file LICENSE | ||
URL: https://github.com/ropensci/hoardr | ||
URL: https://docs.ropensci.org/hoardr/, | ||
https://github.com/ropensci/hoardr | ||
BugReports: https://github.com/ropensci/hoardr/issues | ||
VignetteBuilder: knitr | ||
Encoding: UTF-8 | ||
Imports: R6 (>= 2.2.0), rappdirs (>= 0.3.1), digest | ||
Suggests: roxygen2 (>= 6.0.1), testthat, knitr, rmarkdown | ||
RoxygenNote: 6.1.1 | ||
Imports: R6, rappdirs, digest | ||
Suggests: testthat, knitr, rmarkdown | ||
RoxygenNote: 7.2.3 | ||
X-schema.org-applicationCategory: Data | ||
X-schema.org-keywords: caching, data, files, xml, pdf | ||
X-schema.org-isPartOf: https://ropensci.org | ||
NeedsCompilation: no | ||
Packaged: 2018-12-01 23:39:26 UTC; sckott | ||
Author: Scott Chamberlain [aut, cre] | ||
Maintainer: Scott Chamberlain <[email protected]> | ||
Packaged: 2023-01-26 09:34:04 UTC; tamas | ||
Author: Scott Chamberlain [aut] (<https://orcid.org/0000-0003-2542-2202>), | ||
Tamás Stirling [ctb, cre] | ||
Maintainer: Tamás Stirling <[email protected]> | ||
Repository: CRAN | ||
Date/Publication: 2018-12-02 00:00:03 UTC | ||
Date/Publication: 2023-01-26 16:00:02 UTC |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
YEAR: 2018 | ||
YEAR: 2020 | ||
COPYRIGHT HOLDER: Scott Chamberlain |
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
Binary file not shown.
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 |
---|---|---|
@@ -1,39 +1,39 @@ | ||
## ----echo=FALSE---------------------------------------------------------- | ||
## ----echo=FALSE--------------------------------------------------------------- | ||
knitr::opts_chunk$set( | ||
comment = "#>", | ||
collapse = TRUE, | ||
warning = FALSE, | ||
message = FALSE | ||
) | ||
|
||
## ----eval=FALSE---------------------------------------------------------- | ||
## ----eval=FALSE--------------------------------------------------------------- | ||
# install.packages("hoardr") | ||
|
||
## ----eval=FALSE---------------------------------------------------------- | ||
## ----eval=FALSE--------------------------------------------------------------- | ||
# devtools::install_github(c("ropensci/hoardr")) | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
library("hoardr") | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
(x <- hoardr::hoard()) | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
x$cache_path_set("foobar", type = 'tempdir') | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
x$mkdir() | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
cat("hello world", file = file.path(x$cache_path_get(), "foo.txt")) | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
x$list() | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
x$details() | ||
|
||
## ------------------------------------------------------------------------ | ||
## ----------------------------------------------------------------------------- | ||
x$delete("foo.txt") | ||
x$list() | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.