Pin names change when vermast or veralt is used (e.g., a_V12_M.qs2), and for files that are not dta. Existing pins of these files are downloaded again.
dlw_get_data() reads csv, tsv, sav, rds, parquet, xls and xlsx files. Other files (e.g., .do, .pdf) are pinned unchanged and their path is returned (#4).
dlw_get_gmd_support() gets any other Support file with filename (e.g., "Monthly_CPI.dta", vermast = "v15").
HTTP errors keep their status, endpoint and API message, with the token redacted (#23).
Fixes
Files with several versions on the server (e.g., Support files) download. The latest is used unless vermast or veralt is given (#25).