Update example in inversionDistance function - #56
Merged
Conversation
charles-plessy
requested changes
Aug 17, 2026
charles-plessy
left a comment
Collaborator
There was a problem hiding this comment.
Thanks, if the examples take less than a couple seconds to run, can you remove the \dontrun fence?
Collaborator
There was a problem hiding this comment.
Since they are small, maybe you can just run the examples?
Contributor
Author
There was a problem hiding this comment.
Thanks, I removed the \dontrun.
Update the example used in the `inversionDistance` function: `exampleInversion2` is replaced by `exampleInversionHP1999fig4a`. Remove `exampleInversion2` from the example data objects.
Remove \dontrun from examples, as they are small and fast to compute.
pribiller
force-pushed
the
inversion_example_upd
branch
from
August 17, 2026 08:08
6c2a46b to
9e7b024
Compare
charles-plessy
approved these changes
Aug 17, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes a small change to the documentation of the 'inversionDistance' function: it replaces the example data object used in the example from 'exampleInversion2' to 'exampleInversionHP1999fig4a'.
It also removes
exampleInversion2from the example data objects. This object was used only by the 'inversionDistance' function, and it was introduced in the recent PR #53.