Skip to content

chore: add lifecycle/license/codecov badges#10

Merged
rkrug merged 11 commits into
mainfrom
claude/add-badges
Jun 2, 2026
Merged

chore: add lifecycle/license/codecov badges#10
rkrug merged 11 commits into
mainfrom
claude/add-badges

Conversation

@rkrug
Copy link
Copy Markdown
Collaborator

@rkrug rkrug commented Jun 2, 2026

Adds lifecycle (experimental), license, and Codecov coverage badges to README.

rkrug and others added 11 commits May 29, 2026 09:09
- DESCRIPTION: URL, BugReports, Additional_repositories → openalexPro org
- _pkgdown.yml: site URL → openalexpro.github.io
- README.md: all badge/link URLs updated to openalexPro org
- CI workflows: extra-repositories → openalexpro.r-universe.dev

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… live

openalexpro.r-universe.dev does not exist yet (packages.json needs to
reach main first). Temporarily keep rkrug.r-universe.dev as the install
source; will switch once the org universe is built.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…r-universe.dev

rkrug.r-universe.dev dropped openalexPro after the org transfer.
Use github::openalexPro/openalexPro in CI extra-packages as bridge
until openalexpro.r-universe.dev finishes its first build.
Additional_repositories updated to openalexpro.r-universe.dev.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
chore: move repo to openalexPro org
Add tests for the one-shot export wrapper, Pandoc HTML/single-file
rendering, conversion error paths, and the Zotero uploader (validation
plus mocked success/failure/network-error paths). Package coverage rises
from ~70% to ~86%.

Writing the wrapper tests surfaced two bugs that left
corpus_export_via_pandoc() non-functional:
- it called corpus_to_csljson() with positional args that misaligned with
  the project_dir-first signature; now uses named args
- it pre-created the temp CSL dir, which corpus_to_csljson() then refused
  to overwrite; the path is now only reserved, not created

Also reflow over-long lines in the R source for lintr/goodpractice.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
# Conflicts:
#	.github/workflows/R-CMD-check.yaml
#	.github/workflows/pkgdown.yaml
#	.github/workflows/test-coverage.yaml
#	DESCRIPTION
…ectory

The wrapper passed the CSL JSON *directory* to csljson_convert_pandoc(),
which for directory input treats `output` as a directory and writes
chunk_*.bib into it. So `corpus_export_via_pandoc(output = "corpus.bib")`
created a *directory* named corpus.bib rather than the single file its
docs promise. The test only caught this on Windows, where a directory
reports size 0 (vs. non-zero on macOS/Linux).

Merge the chunked CSL JSON into a single array first, then run the
single-file conversion, and return the actual created path (the previous
`normalizePath(output)` was wrong when an extension was appended).

Tests now assert the result is a file, not a directory, on all platforms.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add Zenodo DOI, CI fixes, and raise test coverage to 86%
Tag the corpus_export_via_pandoc() single-file fix, the pdf_engine/DOI
fixes, and the test-coverage work as release 0.0.3 in NEWS.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rkrug rkrug merged commit 911a42a into main Jun 2, 2026
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

Successfully merging this pull request may close these issues.

1 participant