# Read the YAML file
test_config <- system.file("config", "default_config.yml", package = "connector")
file.copy(test_config, "test_config.yaml")
# Add metadata
config <- add_metadata("test_config.yaml", "new_metadata", "new_value")
# Remove metadata
config <- remove_metadata("test_config.yaml", "new_metadata")
unlink("test_config.yaml")
Run the code above in your browser using DataLab