# Create a temporary directory for testing
tmp_dir <- tempdir()
# Write the README file
write_readme(path = tmp_dir)
# Confirm the file was created (optional, for user confirmation)
file.exists(file.path(tmp_dir, "README.md"))
# Clean up: Remove the created file
unlink(file.path(tmp_dir, "README.md"))
Run the code above in your browser using DataLab