Skip to content

Commit

Permalink
version 0.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
stitam authored and cran-robot committed Jan 18, 2025
1 parent 19caed0 commit c6b62da
Show file tree
Hide file tree
Showing 10 changed files with 111 additions and 57 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.4
Version: 0.5.5
Authors@R: c(person("Scott", "Chamberlain", role = "aut",
comment = c(ORCID="0000-0003-2542-2202")),
person("Tamás", "Stirling", role = c("ctb", "cre"),
Expand All @@ -19,15 +19,15 @@ VignetteBuilder: knitr
Encoding: UTF-8
Imports: R6, rappdirs, digest
Suggests: testthat, knitr, rmarkdown
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
X-schema.org-applicationCategory: Data
X-schema.org-keywords: caching, data, files, xml, pdf
X-schema.org-isPartOf: https://ropensci.org
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2024-01-23 09:10:25 UTC; tamas
Packaged: 2025-01-18 15:57:53 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: 2024-01-23 09:40:06 UTC
Date/Publication: 2025-01-18 16:20:06 UTC
18 changes: 9 additions & 9 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
c479246040e9d3e985c604ad89c9fdbc *DESCRIPTION
20b5d347f3c3b96e21e27ed284d33b43 *DESCRIPTION
35bd8606c71dfbfad3ad27387e177ad4 *LICENSE
55e3517dd2332c0fb5592ca86f74e112 *NAMESPACE
790d96715022bd701cf1991d6d41fb27 *NEWS.md
cf91bcfa45d18b0d048c0ea450cf2274 *NEWS.md
093ac5dd5475d363669db3098a2d9b61 *R/details.R
314241f467e46bd99b404feb304f4742 *R/hoard-package.R
b90402d7312395ce623b618f1d03c304 *R/hoard_client.R
18ab0d578c4725c14369d3390032c8b6 *R/hoard-package.R
27e0dcb0b7c0798acadec241c6a4a0bb *R/hoard_client.R
17abdfb6022ac7441935f0dc9f96cd0a *R/zzz.R
35e8ca8f5a9e3ce2572118c365e386c2 *README.md
28ba4046c581212b890852d69ffb5af8 *build/vignette.rds
e7038584fc028220c4d4e02505170880 *inst/doc/hoardr_vignette.R
9a7a2c2e388446e064519dfa52ecad8f *build/vignette.rds
6907883c6352743819f56d3fd1e03f1a *inst/doc/hoardr_vignette.R
74d61fc8457e3bfc9f0baeb0f0f7190c *inst/doc/hoardr_vignette.Rmd
b596d2c2c995e396115be49dde47d21b *inst/doc/hoardr_vignette.html
07f950c569b053595a2a03f56291afcb *man/hoard.Rd
fcf35f91e454e1cd172a08f1e22b0490 *man/hoardr-package.Rd
7c7e6e91c53863e0a3f3f308cb05c2a5 *inst/doc/hoardr_vignette.html
712d3872a775c80d65903e242a756024 *man/hoard.Rd
6247a92dc5c424a88e2ba2401ecfda21 *man/hoardr-package.Rd
d7ee8d2edb16213632bd2bdd68d98407 *tests/testthat.R
44251381b8287fbe26dfa2cce2457575 *tests/testthat/test-HoardClient.R
6d5db5bf6799e5dc5ab58b42f9caaf4f *tests/testthat/test-hoard.R
Expand Down
10 changes: 10 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
hoardr 0.5.5
============

### BUG FIXES

* Some tests began to fail on MS Windows, probably because of mixed slash
directions. Slash directions are now normalised (#26).


hoardr 0.5.4
============

Expand All @@ -6,6 +15,7 @@ hoardr 0.5.4
* `testthat::test_check()` failed when full path for cache dir was `tempdir()`.
Replaced `tempdir()` with a full path that works (#23).


hoardr 0.5.3
============

Expand Down
2 changes: 1 addition & 1 deletion R/hoard-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
#' @docType package
#' @author Scott Chamberlain \email{myrmecocystus@@gmail.com}
#' @keywords package
NULL
"_PACKAGE"
6 changes: 3 additions & 3 deletions R/hoard_client.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' \itemize{
#' \item path (character) the path to be appended to the cache path set
#' by `type`
#' \item type (character) the type of cache, see [rappdirs]
#' \item type (character) the type of cache, see [rappdirs::rappdirs()].
#' \item prefix (character) prefix to the `path` value. Default: "R"
#' \item full_path (character) instead of using `path`, `type`, and `prefix`
#' just set the full path with this parameter
Expand Down Expand Up @@ -204,9 +204,9 @@ HoardClient <- R6::R6Class(
if (is.null(full_path)) {
self$path <- path
private$hoard_env$cache_path <-
file.path(eval(parse(text = type))(), prefix, path)
chartr("\\", "/", file.path(eval(parse(text = type))(), prefix, path))
} else {
private$hoard_env$cache_path <- full_path
private$hoard_env$cache_path <- chartr("\\", "/", full_path)
}
# return path to user
self$cache_path_get()
Expand Down
Binary file modified build/vignette.rds
Binary file not shown.
4 changes: 2 additions & 2 deletions inst/doc/hoardr_vignette.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ knitr::opts_chunk$set(
)

## ----eval=FALSE---------------------------------------------------------------
# install.packages("hoardr")
# install.packages("hoardr")

## ----eval=FALSE---------------------------------------------------------------
# devtools::install_github(c("ropensci/hoardr"))
# devtools::install_github(c("ropensci/hoardr"))

## -----------------------------------------------------------------------------
library("hoardr")
Expand Down
109 changes: 72 additions & 37 deletions inst/doc/hoardr_vignette.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion man/hoard.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions man/hoardr-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c6b62da

Please sign in to comment.