Skip to content

Fix missing R package dependencies in FLoRA pipeline workflow#95

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-dependency-error
Draft

Fix missing R package dependencies in FLoRA pipeline workflow#95
Copilot wants to merge 2 commits intomainfrom
copilot/fix-dependency-error

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

The run-flora-pipeline.yml workflow was installing only the packages explicitly called in prepare_flora.qmd, missing all transitive dependencies from the six sourced R helper scripts — causing an immediate failure on library(rcrossref).

Missing packages added to Install R dependencies step

Package Required by
rcrossref augmentation.R, crossref_cache.R
readr openalex_cache.R, unpaywall_cache.R
ellmer llm_classification.R
openssl prepare_flora.qmd (openssl::md5())
openxlsx crossref_cache.R (openxlsx::write.xlsx())
purrr openalex_cache.R, unpaywall_cache.R, llm_classification.R
- name: Install R dependencies
  run: |
    Rscript -e 'install.packages(c("knitr", "rmarkdown", "dplyr", "stringr", "tibble",
      "readxl", "jsonlite", "glue", "httr", "here", "readr", "rcrossref", "ellmer",
      "openssl", "openxlsx", "purrr"), repos = "https://cloud.r-project.org")'

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix error and account for all dependencies Fix missing R package dependencies in FLoRA pipeline workflow Mar 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.

2 participants