Hi Shiro. Following up on the reversion that I mentioned. As of 0.3.15, the package cannot be used for non-public datasets. Reverting to 0.3.14 resolves it, with authentication functioning as expected.
reprex (It's under our org, so you should have access to this by default):
library(dataverse)
files <- get_dataset("10.7910/DVN/ZV5KF3", server = "dataverse.harvard.edu")
#> Error in value[[3L]](cond): Could not retrieve Dataset ID from persistent identifier! Unauthorized (HTTP 401). Failed to User :guest is not permitted to perform requested action..
Created on 2025-07-29 with reprex v2.1.1
Hi Shiro. Following up on the reversion that I mentioned. As of 0.3.15, the package cannot be used for non-public datasets. Reverting to 0.3.14 resolves it, with authentication functioning as expected.
reprex (It's under our org, so you should have access to this by default):
Created on 2025-07-29 with reprex v2.1.1