# NOT RUN {
moduleName <- "my_module"
modulePath <- file.path("path", "to", "modules")
## verify checksums of all data files
checksums(monudleName, modulePath)
## write new CHECKSUMS.txt file
# 1. verify that all data files are present (and no extra files are present)
list.files(file.path(modulePath, moduleName, "data")
# 2. calculate file checksums and write to file (this will overwrite CHECKSUMS.txt)
checksums(monudleName, modulePath, write = TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab