{"id":13858154,"url":"https://github.com/r-lib/pkginstall","last_synced_at":"2025-07-13T23:31:24.850Z","repository":{"id":66205292,"uuid":"103321954","full_name":"r-lib/pkginstall","owner":"r-lib","description":"Provides a replacement for `utils::install.packages()`","archived":true,"fork":false,"pushed_at":"2020-04-03T14:32:01.000Z","size":262,"stargazers_count":35,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T15:25:36.917Z","etag":null,"topics":["r"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r-lib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-09-12T21:23:55.000Z","updated_at":"2023-01-28T13:55:35.000Z","dependencies_parsed_at":"2023-03-10T23:43:29.744Z","dependency_job_id":null,"html_url":"https://github.com/r-lib/pkginstall","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/r-lib/pkginstall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fpkginstall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fpkginstall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fpkginstall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fpkginstall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-lib","download_url":"https://codeload.github.com/r-lib/pkginstall/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fpkginstall/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265220336,"owners_count":23729793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r"],"created_at":"2024-08-05T03:01:58.557Z","updated_at":"2025-07-13T23:31:19.840Z","avatar_url":"https://github.com/r-lib.png","language":"R","readme":"# pkginstall\n[![Travis build status](https://travis-ci.org/r-lib/pkginstall.svg?branch=master)](https://travis-ci.org/r-lib/pkginstall)\n[![Coverage status](https://codecov.io/gh/r-lib/pkginstall/branch/master/graph/badge.svg)](https://codecov.io/github/r-lib/pkginstall?branch=master)\n[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/r-lib/pkginstall?branch=master\u0026svg=true)](https://ci.appveyor.com/project/r-lib/pkginstall)\n[![Lifecycle: superseded](https://img.shields.io/badge/lifecycle-superseded-orange.svg)](https://www.tidyverse.org/lifecycle/#superseded)\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://asciinema.org/a/Cqnq0oTTlAHI3KcU6LePFNsEU?autoplay=1\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/Cqnq0oTTlAHI3KcU6LePFNsEU.png\" width = \"75%\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nProvides a replacement for `utils::install.packages(repo = NULL)`.\nI.e. it builds binary packages from source packages, and extracts the\ncompressed archives into the package library.\n\nCompared to `utils::install.packages()` it\n\n- Has robust support for installing packages in parallel.\n- Fails immediately when the first package fails when installing multiple packages, rather than returning a warning.\n- Uses the same code paths on all platforms, rather than similar (but not identical) code paths.\n- Succeeds or fails atomically. Either the complete package is installed or it fails with an informative error message.\n- Has additional tests for package validity before installing\n- Always uses per-package lock files, to protect against simultaneous installation\n- Has a robust set of tests, to ensure correctness and ease debugging installation issues.\n\n## Installation\n\nOnce on CRAN, install with\n\n```r\ninstall.packages(\"pkginstall\")\n```\n\n## Example\n\n``` r\nfiles \u003c- download.packages(\"remotes\", type = \"binary\", \".\")\npkginstall::install_binary(files[[2]])\n```\n\n## Status [![Lifecycle: superseded](https://img.shields.io/badge/lifecycle-superseded-orange.svg)](https://www.tidyverse.org/lifecycle/#superseded)\n\npkginstall is superseded: the functionality was included directly in the pkgdepends package, used by pak. We recommend using [pak](https://github.com/r-lib/pak) instead.\n","funding_links":[],"categories":["R"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-lib%2Fpkginstall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-lib%2Fpkginstall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-lib%2Fpkginstall/lists"}