Skip to content

Update example in inversionDistance function - #56

Merged
charles-plessy merged 2 commits into
mainfrom
inversion_example_upd
Aug 17, 2026
Merged

Update example in inversionDistance function#56
charles-plessy merged 2 commits into
mainfrom
inversion_example_upd

Conversation

@pribiller

Copy link
Copy Markdown
Contributor

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 exampleInversion2 from the example data objects. This object was used only by the 'inversionDistance' function, and it was introduced in the recent PR #53.

@charles-plessy charles-plessy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, if the examples take less than a couple seconds to run, can you remove the \dontrun fence?

Comment thread R/inversionDistance.R Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since they are small, maybe you can just run the examples?

@pribiller pribiller Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
pribiller force-pushed the inversion_example_upd branch from 6c2a46b to 9e7b024 Compare August 17, 2026 08:08
@charles-plessy
charles-plessy merged commit e899c48 into main Aug 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants