Automated install / Reinstall entire library

Open
#519 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
tooling

Research direction

Start by reading the existing behavior and documentation for pak::pkg_list() and pak::pkg_install(). Determine whether the package-list data can preserve package versions and remote sources without renv. Done means providing a supported way to reinstall the listed packages with the same versions and sources, with tests covering that workflow.

Written by the indexing model from the issue text.

Description

feature

I am wondering if there is a convenient way to reinstall an entire package library from a system to another system. I know that renv is used for this, but I want to avoid using that. I can see that pak::pkg_list() gives a data.frame of installed packages along with remote refs. Can this data.frame be passed to pak::pkg_install() or something and reinstall the same packages, versions and from same sources?

Dominant language
C
Stars
821
Forks
88
Avg merge
17m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/pak

All issues in r-lib/pak

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.