save_config: Save the configuration changes

View source: R/config.R

save_configR Documentation

Save the configuration changes

Description

Permanently saves configuration changes to the data folder (excluding social media credentials, but not SMTP credentials)

Usage

save_config(
  data_dir = conf$data_dir,
  properties = TRUE,
  sm_topics = NULL,
  fs_remote = conf$fs_remote
)

Arguments

data_dir

Path to a directory to save configuration settings if fs_remote is provided this value is ignored, Default: conf$data_dir

properties

Whether to save the general properties to the properties.json file, default: TRUE

sm_topics

Whether to save topic download plans to the topics.json file, default: TRUE

fs_remote

Path to the remote master instance of episomer, default: conf$fs_remote"

Details

Permanently saves configuration changes to the data folder (excluding social media credentials, but not SMTP credentials) to save social media credentials please use sm_api_set_auth_bluesky or sm_api_set_auth_mastodon

Value

Nothing

See Also

setup_config sm_api_set_auth_bluesky sm_api_set_auth_mastodon

Examples

## Not run: 
   library(episomer)
   #load configuration
   message('Please choose the episomer data directory')
   setup_config(file.choose())
   #make some changes
   #conf$collect_span = 90
   #saving changes
   save_config()

## End(Not run)

episomer documentation built on Nov. 26, 2026, 5:07 p.m.