View source: R/remove_file_timestamp.R
remove_file_timestamp | R Documentation |
remove_file_timestamp
will remove date/time stamps that have EXACTLY
the same format as the Simcyp Autorunner's output. For example: "myfile -
2023-10-31 13-29-15.xlsx" will become "myfile.xlsx". BE CAREFUL because
there's no undo button; your file names will be permanently changed.
remove_file_timestamp(
sim_data_files = NA,
regex_to_match = NA,
return_file_names = FALSE
)
sim_data_files |
the Simcyp Simulator results Excel files to clean up. There are three options:
|
regex_to_match |
Optionally provide a text string to use for finding the correct files from which to remove the date/time stamp. For example,if your files all start with "abc1a-", list that here, in quotes, and anything that doesn't contain "abc1a-" will be ignored. Don't include the "xlsx" part of the file name, though, because we'll add that. Wildcards and other regex are acceptable. |
return_file_names |
TRUE or FALSE (default) for whether to return the
original and revised file names. If you want to check what the new file
names would be before running this, try running
|
Does not return anything in R; only changes file names
# None yet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.