# NOT RUN {
# }
# NOT RUN {
## Example-1
# Set the current directory to the git repository concerned.
setwd("./Path/to/repository")
# Obtain the commit object
commit_list <- git2r::commits()
t_commit <- commit_list[[1]]
# Specify the test-file path
t_path <- "Path/to/file"
# Pass the parameters and obtain the memory stats
library(Rperform)
mem_commit(t_path, t_commit)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab