Skip to content

Feature request: use_pins replacement for use_data #2103

Open

Description

@rjchallen

It would be nice to develop a simple workflow for using github / pkgdown hosted pins instead of standard R data files in a package, and have it working with minimal disruption to existing packages with data in them.

I'm thinking a 'use_data_raw' equivalent that sets up a pin_board and a 'use_pin' that adds data to the board, updating metadata etc, and adds in a package onLoad function that does a delayedAssign to the current variable name, that downloads and caches the pin from github when deployed or pulls it from local file location in development.

It would need to know where the github pages are being hosted, but there are sensible defaults that would work in 99% of time.

Happy to work something up as a pull request if there is support for it.

Activity

  1. changed the title [-]Feature request: use_pins for replaing use_data[/-] [+]Feature request: use_pins replacement for use_data[/+] on Feb 8, 2025
  2. added
    feature
    on Jul 23, 2025
  3. added this to the Backlog milestone on Jul 23, 2025
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

    feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions