Overview
This package checks github repo size as a means of avoiding errors or
oversized repos. The package will flag repos over a standard size.
Installation
Install package using the code below:
install.packages("remotes")
remotes::install_github("nmfs-ost/ghBackup")
library(ghBackup)
Using the dir_size
function
The function uses the identified path to check the size of a
specified directory and will return the total size.
object = ghBackup::dir_size(path=system.file("extdata", package="ghBackup"))
Output
This output will show a table including the total directory size in
MB and the full path to directory to be sized.
0.00264 |
/tmp/RtmpG2GKvh/Rinst97d203d39c4/ghBackup/extdata |