Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show files #93

Merged
merged 9 commits into from
Jan 28, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
documentation
  • Loading branch information
ateucher committed Jan 26, 2021
commit 22945a7e4b5b145dc03288cace99d6a74a4aa428
9 changes: 7 additions & 2 deletions R/cache-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' from the cache. Defaults to deleting all files pausing for permission from user. If a subset
#' of files are specified, the files are immediately deleted.
#'
#' @return A logical of whether the file(s) were successful deleted
#' @return `delete_cache()`: A logical of whether the file(s) were successful deleted
#'
#' @export
#' @examples
Expand Down Expand Up @@ -63,7 +63,12 @@ list_cached_files <- function() {
#'
#' @rdname delete_cache
#'
#' @return
#' @return `show_cached_files()`: a data.frame with the columns:
#' - `file`, the name of the file,
#' - `size_MB`, file size in MB,
#' - `is_dir`, is it a directory
#' - `modified`, date and time last modified
#'
#' @export
show_cached_files <- function() {
files <- list_cached_files()
Expand Down
10 changes: 8 additions & 2 deletions man/delete_cache.Rd

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