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

Information is not displayed correctly in the README release status badge. #158

Closed
indenkun opened this issue Nov 13, 2024 · 2 comments
Closed

Comments

@indenkun
Copy link

Dear Developers and Maintainers.

The CRAN release status badge in the README is not showing the correct information.

I think this is because the CRAN release status badge that README.md refers to is incorrect.

Looking at the logs, it seems that the wrong badge has been referred to since the following commit.
e124fac

Although format: gfm is specified, I confirmed that the badge information is displayed correctly when rendering with devtools::build_readme(output_format = “github_document”) and forcing github_document The following is a sample of the results.
https://github.com/indenkun/miniCRAN/tree/readme-test

I can also pull requests for the ones above if needed.

@andrie
Copy link
Owner

andrie commented Nov 13, 2024

Thanks for reporting this.

I have now attempted various fixes, but none of these fixes the display of the badge.

The URL for the badge itself (https://www.r-pkg.org/badges/version/miniCRAN) resolves correctly when I open this in a browser, but not from the README.

It also makes no difference when I change the yaml to:

---
output: github_document
---

It's a mystery.

@andrie
Copy link
Owner

andrie commented Nov 13, 2024

Although the problem persists locally, once I push to github everything now renders correctly.

@andrie andrie closed this as completed Nov 13, 2024
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

2 participants