Skip to content

Feature request: use pkgbuild to build the package #789

Open

Description

@Yunuuuu

Related to r-lib/pkgbuild#59

pkgbuild provides a mechanism to avoid copying large files during the build process by using symlinks or similar strategies.

However, when using pak::pak("."), it appears that the entire package directory is copied, which makes the process significantly slower for packages containing large files. In contrast, building the package first with pkgbuild::build() and then installing the tarball using pak::pak("local::../my_pkg.tar.gz") is much faster:

pkgbuild::build()
pak::pak("local::../rsahmi_0.0.2.9000.tar.gz")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions