Function to create a migration script

makeMigrationScript(
  scriptName,
  date = lubridate::today(),
  projectPath = here::here(),
  open = TRUE
)

Arguments

scriptName

The name of the analysis script

date

the date the script was built, default to today's date

projectPath

the path to the project

open

toggle on whether the file should be opened