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

A unified check_package() function #8

Open
wlandau opened this issue Apr 9, 2024 · 0 comments
Open

A unified check_package() function #8

wlandau opened this issue Apr 9, 2024 · 0 comments

Comments

@wlandau
Copy link
Member

wlandau commented Apr 9, 2024

Currently, the package has a check_versions() function to check the version compliance of all packages in R-multiverse. The users of the package will mostly be maintainers of specific R-multiverse packages, so I think it would be much more convenient to have a unified check_package() function which queries the overall status of an individual package.

The workflow at https://github.com/r-multiverse/checks/blob/main/.github/workflows/issues.yaml checks packages for compliance. For each package with issues, a JSON file is written to issues/ folder in https://github.com/r-multiverse/checks for that package. Currently the only type of issue checked is version compliance. When R-universe gains a check API, we will add those too. But in any case, check_package() can simply query the issues/PACKAGE_NAME file and write informative output for the user.

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

No branches or pull requests

1 participant