dataverse-frontend
dataverse-frontend copied to clipboard
Hide RData download file option if R is not configured in Dataverse
Overview of the Feature Request
The download option in R format should not be rendered if R is not configured in Dataverse.
Tabular files work well for both original and archival formats. But when selecting RData the following error appears:
{"status":"ERROR","code":404,"message":"datafile access error: requested optional service (image scaling, format conversion, etc.) could not be performed on this datafile."}
https://github.com/IQSS/dataverse-frontend/assets/17010447/1c780e11-c4d2-4741-9493-1194000dca72
This issue depends on backend changes to allow the SPA to know if R is configured in the Dataverse instance. There is already an issue created in the backend repository: https://github.com/IQSS/dataverse/issues/8711
This issue will potentially be divided into 2 spike issues for the frontend work: A UI issue and an integration issue.
What kind of user is the feature intended for?
All users
What inspired the request?
- https://github.com/IQSS/dataverse-frontend/pull/240#issuecomment-1851818333
What existing behavior do you want changed?
None
Any brand new behavior do you want to add to Dataverse?
Hide RData download option if R not configured.
Any open or closed issues related to this feature request?
- https://github.com/IQSS/dataverse/issues/8711
- https://github.com/IQSS/dataverse-frontend/pull/240