A function that creates a formatted output of RStudio preference updates, comparing old and new values.
Usage
pretty_print_updates(old, new)
Arguments
- old
A list of old RStudio preferences.
- new
A list of new RStudio preferences.
Value
A logical value indicating if there were any updates.
Details
This function generates a data frame with old and new preferences, pads each column with trailing spaces for alignment, and prints updates. It also returns a logical value indicating if there were any updates.
Note
This function is useful for comparing and documenting changes in RStudio preferences.