Skip to content

Rig build #397

Description

@mns-nordicals

One thing missing from this new extended version is perhaps a rig build command?

Activity

  1. gaborcsardi commented on Sep 20, 2026

    @gaborcsardi
    Member

    What would that do?

  2. mns-nordicals commented on Sep 20, 2026

    @mns-nordicals
    Author

    Nothing deep behind it — I was going down the uv command list and noticed build had no counterpart. Mostly a convenience, two parts:

    • Keep rproj.toml and DESCRIPTION in sync. Building today means rig proj export and committing the generated file, so there are two sources of truth that can drift. Generating DESCRIPTION into a staging copy and building there would leave the working tree alone.
    • Build one package in a monorepo — rig build --package mypkg

    Happy to drop it if that's not worth a command.

  3. gaborcsardi commented on Sep 20, 2026

    @gaborcsardi
    Member

    Projects do not need a DESCRIPTION file, hopefully.

    It is currently unclear how exactly we'll use rproj.toml with packages. I think we'll just need to start doing it to get a better idea. I agree that we'll probably have rig build at some point, though.

  4. gaborcsardi commented on Oct 1, 2026

    @gaborcsardi
    Member

    I guess this could build a package. rig proj check could run R CMD check on a local package, and rig proj publish could publish it to CRAN/PPM or Posit Connect?

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

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions