Returns a cleaned up SWAP file fit for manipulation (removes all non-vital information).

clean_swap_file(project_path, swap_file = "swap.swp")

Arguments

project_path

path to the project directory (string)

swap_file

name of the swap file (string)

Value

Returns a cleaned up SWAP file in string vector form.

Details

This function is designed to be used internally, but may be useful to the end users. This is currently only tested for the SWAP main file.