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

Deep link to CRAN checks: non-predictable URL #8

Open
HenrikBengtsson opened this issue Mar 12, 2024 · 3 comments
Open

Deep link to CRAN checks: non-predictable URL #8

HenrikBengtsson opened this issue Mar 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@HenrikBengtsson
Copy link
Contributor

HenrikBengtsson commented Mar 12, 2024

For example, raybevel was archived on:

Archived on 2024-03-10 as issues were not corrected in time.

but the check link on https://cran.r-project.org/web/packages/raybevel/index.html is for a different date:

https://cran-archive.r-project.org/web/checks/2024/2024-03-12_check_results_raybevel.html

This means, in order to find the check URL, we most likely need to parse the content of https://cran.r-project.org/web/packages/raybevel/index.html.

If we implement #7, this only has to be done once per package.

The archive of CRAN checks can be found under https://cran-archive.r-project.org/web/checks/

@HenrikBengtsson HenrikBengtsson added the bug Something isn't working label Mar 12, 2024
@HenrikBengtsson
Copy link
Contributor Author

HenrikBengtsson commented Mar 12, 2024

Alternatively it's vice versa, i.e. they typed the wrong date in X-CRAN-Comment. According to CRANberries, which diffs available.packages(), it was removed 2024-03-12. Also, if we look at https://cran.r-project.org/src/contrib/PACKAGES.in, we see that 'raybevel' comes on top despite following events have a later date.

Package: raybevel
X-CRAN-Comment: Archived on 2024-03-10 as issues were not corrected in time.

Package: docxtools
X-CRAN-Comment: Archived on 2024-03-11 at the maintainer's request.

Package: bsitar
X-CRAN-Comment: Archived on 2024-03-10 as issues were not corrected in time.

Package: konya
X-CRAN-Comment: Archived on 2024-03-10 for policy violation.
  .
  On Internet access.
...

@HenrikBengtsson
Copy link
Contributor Author

Yeah, it was a typo that they now fixed;

Package: raybevel
X-CRAN-Comment: Archived on 2024-03-12 as issues were not corrected in time.

So, this reveals that at least the date information is manually entered.

@llrs
Copy link
Member

llrs commented Mar 13, 2024

I like they fix this but I am worried this is not somewhat automated.
I thought they would have a function that archives a packages and creates the message in the file...

(Noted for future suggestions/opportunities to collaborate with CRAN maintainers)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants