metrumresearchgroup / bbr

R interface for model and project management
https://metrumresearchgroup.github.io/bbr/
Other
23 stars 2 forks source link

model-diff: hide content when models are identical #522

Closed kyleam closed 2 years ago

kyleam commented 2 years ago

When passed files with identical contents, diffobj::diffFile() has a message that says "No visible differences between objects" but then confusingly prints a diff with the file content to the console. Catch this case, give a message, and return early.

Closes #516.

kyleam commented 2 years ago

diffobj::diffFile() has a message that says "No visible differences between objects" but then confusingly prints a diff with the file content to the console

Here's an example:

220720-123548
kyleam commented 2 years ago

let's change the message to something like "Relevant model files are identical"

Done. Thanks, @seth127.