Skip to content

Include all packages in library list return value#40

Open
david-mears-2 wants to merge 4 commits intomainfrom
library-list-report-all-packages
Open

Include all packages in library list return value#40
david-mears-2 wants to merge 4 commits intomainfrom
library-list-report-all-packages

Conversation

@david-mears-2
Copy link
Copy Markdown
Contributor

@david-mears-2 david-mears-2 commented Mar 30, 2026

Updates the endpoint to report not only the list of R packages (with versions) installed in the shared library mounted at /library, but instead report all installed packages alongside versions and locations.

An alternative design would have been to report two lists, divided into 'those installed in the specified location (shared, additional packages)' and 'those installed elsewhere (core)'. I prefer reporting all locations, for increased generality; packit can do the logic that splits the list into two.

Don't merge this until the packit PR mrc-ide/packit#263 is ready to merge: packit currently expects to only be told about packages installed in the shared R library.

The /library/list endpoint now returns libraries installed anywhere,
so we don't need to manually ensure at least one library has been installed
@david-mears-2 david-mears-2 changed the title WIP: include all packages in library list return value Include all packages in library list return value Mar 30, 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