Skip to content

Conversation

@olivroy
Copy link
Collaborator

@olivroy olivroy commented Jul 4, 2024

fix #2692. I see that some PR was made a while back (#1786), so I am only supporting this if dev mode is auto

It works (with my test example)

image

@github-actions
Copy link

github-actions bot commented Jul 4, 2024

@olivroy olivroy requested a review from hadley July 4, 2024 13:08
# Development settings; tooltip needs to be generated at render time
out$development <- pkg$development
out$development$version_tooltip <- version_tooltip(pkg$development$mode)
if (identical(pkg$development$mode, "devel")) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
if (identical(pkg$development$mode, "devel")) {
if (identical(pkg$development$mode, "devel") && identical(pkg$meta$development$mode, "auto")) {

Copy link
Member

Choose a reason for hiding this comment

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

Do you mean ||?

@olivroy olivroy changed the title Version tooltip version_tooltip works again in dev mode: auto Jul 4, 2024
@olivroy olivroy marked this pull request as ready for review July 4, 2024 13:24
@jayhesselberth
Copy link
Collaborator

@olivroy do you want to polish off this PR?

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.

version_tooltip doesn't seem to work as expected.

4 participants