# Write the _variables.yml file
if (interactive()) {
temp_dir <- tempdir()
# In an interactive session, this would also open the file for editing.
write_variables(temp_dir)
# Verify the file was created
file.exists(file.path(temp_dir, "_variables.yml"))
}
Run the code above in your browser using DataLab