config | R Documentation |
Functions handling sship R package config
create_config(dir = ".") write_config(config, dir = ".", filename = "_sship.yml") get_config(dir = ".") check_config(config)
dir |
string providing path to configuration file |
config |
list containing configuration |
filename |
string defining config filename |
A status message or list of config
# Create a new config file from package default create_config(dir = tempdir()) # Get config config <- get_config(system.file("sship.yml", package = "sship")) # Check if config is valid check_config(config) # Write config to file write_config(config, dir = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.