## 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)
# ## End(Not run)
Run the code above in your browser using DataLab