-
Notifications
You must be signed in to change notification settings - Fork 17
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
Show files #93
Conversation
Looks great. Did we want to go through the trouble of compute the size of subfolders? Right now it just the |
I wondered about that too... or an argument (or other function) to show the cded cache? |
Feels like it belong in the show files function somehow especially since it is likely to be by far the biggest thing taking up space. I guess you could have |
I guess just expanding the cded folder would be the simplest... with a cded (logical) argument whether or not you want to show it? |
I think that might end up being less useful as 95% of the files are cded files. I wonder if we could summarise it by the directors or files at this location: |
Yeah that's good |
Ok, I think this works now. Lists the cded dir (or any dir, but right now that should be the only one) with the sum of the files. I also modified library(bcmaps)
#> Loading required package: sf
#> Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
show_cached_files()
#> # A tibble: 2 x 4
#> file is_dir size_MB modified
#> <chr> <lgl> <dbl> <dttm>
#> 1 /Users/ateucher/Library/Caches/org.R-proje… FALSE 0.0191 2021-01-28 10:21:30
#> 2 /Users/ateucher/Library/Caches/org.R-proje… TRUE 8.66 2021-01-28 10:21:31 Created on 2021-01-28 by the reprex package (v0.3.0) |
Adds more information to
show_cached_files()
so a user can know how much space they are taking up. #92