-
Notifications
You must be signed in to change notification settings - Fork 2
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
Initial infrastructure for the dual repo approach #25
Conversation
Thanks to @jeroen's tip about |
In 1cad4f0, I added a new |
Two other things I could add, either in this PR or another one:
|
On second thought, (2) requires us to think through r-multiverse/help#57 a bit more. |
In 50be3cd, I did a major refactor of this PR, including changing the names of many of the new functions. As mentioned above, I plan to add an |
It tests fine against the synthetic data, but I think it'd be easier to merge this and check it live. |
Thanks! Does that mean this is okay to merge? I have been tied up with openpharma/brms.mmrm#107 this week, and I hope to spend more time on R-multiverse stuff next week. |
Yes, I just had one question about the need for utils_logic.R (see above). Thanks. |
Sorry, I don't see your question in the comments or diff.
|
No worries, forgot to submit the review. My point is more for maintainability, as it may be neither of us modifying this code down the line. As base R has the null coalescing operator, it seems downright confusing to redefine this as something else and then have the 2 variants which are subtly different. MM comments on this at RConsortium/S7#394 and RConsortium/S7#392 Again, I don't have a preference as to what is regarded as 'correct', but I think we can avoid any unnecessary pitfalls by only depending on one variant and not both. |
@shikokuchuo, I finally had a free moment to address your comment on operators. Anything else? |
Please go ahead with the merge, thanks! |
Just realized I forgot to make https://github.com/r-multiverse/multiverse.internals/releases/tag/0.2.0 the latest release yesterday. Just made the change now. Hopefully |
Looks to be working well, after some minor adjustments to the GitHub Actions workflows. https://github.com/r-multiverse/checks/tree/main/issues is a continually refreshing folder of JSON files. There is a JSON file for each package with issues, and each JSON file has specific details in machine-readable format. The next steps I am planning are:
I will submit a PR for each. |
@shikokuchuo, this PR is a start on the infrastructure for the dual repo option. It modularizes and documents the different package checks in
check_checks()
,check_descriptions()
, andcheck_versions()
, and it runs those checks to record specific package issues viarecord_issues()
the PR also adds apkgdown
website.One minor snag is that the R-unvierse check API returns pretty JSON rather than newline-delimited json, so we can't use
jsonlite::stream_in()
to automatically paginate the results downloaded bycheck_checks()
. If you or @jeroen have ideas, I would be curious to know. Manual pagination is inconvenient.