| delete_example_data | R Documentation |
Removes only the known example filenames produced by [get_example_data()] under 'data_dir'. Paths are never taken from [options()], so unrelated files cannot be deleted by mistake. Deletion is only allowed when 'data_dir' is the session example cache ([example_data_folder()]), the legacy per-user 'tools::R_user_dir("gimap", "data")', or any directory under [tempdir()] (for example test directories).
delete_example_data(data_dir = NULL)
data_dir |
Directory whose example files should be removed. The default ('NULL') uses the same session cache as [get_example_data()]. |
Invisibly, the character vector of file paths that were removed (may be length zero if nothing existed).
delete_example_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.