Skip to content

chore: move repo to openalexPro org#5

Merged
rkrug merged 10 commits into
mainfrom
dev
Jun 2, 2026
Merged

chore: move repo to openalexPro org#5
rkrug merged 10 commits into
mainfrom
dev

Conversation

@rkrug
Copy link
Copy Markdown
Collaborator

@rkrug rkrug commented May 29, 2026

Promotes dev → main after all CI passed on PR #4.

Includes org URL updates, pkgdown site URL, CI workflow fixes
(github::openalexPro/openalexPro bridge until r-universe is live).

🤖 Generated with Claude Code

rkrug and others added 10 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
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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%
@rkrug rkrug merged commit 0e2389a into main Jun 2, 2026
10 of 11 checks passed
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