Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document soft-dependencies of Ark on R packages and warn if not met #417

Merged
merged 5 commits into from
Jun 28, 2024

Conversation

lionel-
Copy link
Contributor

@lionel- lionel- commented Jun 26, 2024

Adds documentation for our package min-version dependencies: https://github.com/posit-dev/ark/blob/feature/roxygen-check/doc/package-dependencies.md

These requirements are usually for enhancements or for bugs that we have worked around. There is one bugfix in roxygen that is annoying, so we now warn on load:

Screenshot 2024-06-26 at 10 06 59

To support the nice cli output I've added some tools ported from rlang's standalone-cli.R file.

The fix is not on CRAN yet but @hadley will do a release soon.

@jennybc The enhancement/bugfixes for usethis are missing from this list. Do you remember what they are about?

Copy link
Contributor Author

@lionel- lionel- left a comment

Choose a reason for hiding this comment

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

Comments from @DavisVaughan

crates/ark/src/modules/positron/hooks.R Outdated Show resolved Hide resolved
doc/package-dependencies.md Outdated Show resolved Hide resolved
doc/package-dependencies.md Outdated Show resolved Hide resolved
doc/package-dependencies.md Outdated Show resolved Hide resolved
@jennybc
Copy link
Member

jennybc commented Jun 26, 2024

I think I put usethis on that list purely to exercise dev usethis + Positron more, as dev usethis uses cli heavily in its UI. I am working towards a near-term usethis release. But I think that's just going to give people a nicer, prettier life. It's not actually a matter of function.

@lionel- lionel- merged commit e590068 into main Jun 28, 2024
1 of 2 checks passed
@lionel- lionel- deleted the feature/roxygen-check branch June 28, 2024 12:59
@github-actions github-actions bot locked and limited conversation to collaborators Jun 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants