tests/files/fileCreation/generalFiles.R

###################################
## Create files used for testing ##
##                               ##
## Author: Michela Pasetto       ##
###################################

###########################
## Create bookdown file ###
###########################

testPathBase <- normalizePath(path = "../files")
bookdownFile <- file.path(testPathBase, "_bookdown.yml")
file.create(bookdownFile)
write_yaml(
    list(
        SAS_dir = "path/to/data",
        patient_profile_path = "./patient_profiles/"
    ),
    bookdownFile
)

Try the clinDataReview package in your browser

Any scripts or data that you put into this service are public.

clinDataReview documentation built on March 7, 2023, 5:13 p.m.