Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #652 from cynkra/f-641-paste-3
- `dm_paste()` output uses trailing commas in the `dm::dm()` and `tibble::tibble()` calls, and sorts column attributes by name, for better modularity (#641).
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment has been minimized.
Sorry, something went wrong.
TSchieferOct 14, 2021
MemberThis comment has been minimized.
Sorry, something went wrong.
krlmlrOct 15, 2021
Author CollaboratorAlso in response to 72dbcd0#r58013082 and one other comment:
The extra comma and the distribution over separate lines is a key feature here. When building data models, we want new tables and new column cause the least disruption to existing code. Do we need two flavors of
dm_paste()
output, one aesthetically pleasing, another one for minimal diffs?This comment has been minimized.
Sorry, something went wrong.
TSchieferOct 18, 2021
MemberRight, I clearly missed that! :) I like the idea of having both options. Maybe the behavior could change depending on if
path
is set?