Skip to content

Default to qs2 format (qs is defunct in pins 1.4.2)#20

Merged
bbrunckh merged 4 commits into
worldbank:masterfrom
bbrunckh:bbrunckh
Jul 16, 2026
Merged

Default to qs2 format (qs is defunct in pins 1.4.2)#20
bbrunckh merged 4 commits into
worldbank:masterfrom
bbrunckh:bbrunckh

Conversation

@bbrunckh

Copy link
Copy Markdown
Collaborator

Summary

Switches the default dlw.format from "qs" to "qs2".

"qs" no longer works: as of pins 1.4.2, type = "qs" is defunct —
pins::pin_write() errors and tells the caller to use "qs2". The qs
package has been archived on CRAN; qs2 is its maintained successor. So
every dlw_get_data() call using the default format currently fails at
the pin-write step.

Changes

  • R/zzz.R: dlw.format default c("qs", "parquet")c("qs2", "parquet")
    (first element is the match.arg() default; "parquet" stays valid).
  • DESCRIPTION: add qs2 to Imports. pins only lists qs2 under
    Suggests, so it isn't installed transitively — and it now backs the default.
  • R/dlw_get_data.R + regenerated man/*.Rd: update @param format docs.

@bbrunckh
bbrunckh merged commit 49a3d7a into worldbank:master Jul 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant