renku icon indicating copy to clipboard operation
renku copied to clipboard

Feature `renv.lock` files in interactive web view

Open philipp-baumann opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. Currently, renv.lock files are not supported in the file preview, although they are simple JSON files. It would be neat to support the interactive view of file contents in the browser. Not super important, but nice to have.

Describe the solution you'd like It would be nice to enable the preview of renv.lock files.

Describe alternatives you've considered The alternative is simply downloading file or clone project.

Additional context Add any other context or screenshots about the feature request here.

philipp-baumann avatar Jul 06 '23 15:07 philipp-baumann

This should be easy to do! Are there any other standard files used in R-based projects that you have noticed are not correctly supported by RenkuLab? If there are, feel free to add them to this issue, and we can tackle them together.

ciyer avatar Jul 06 '23 16:07 ciyer

Hi @ciyer , great! As far as I just have tested, the following R agnostic files are not yet displayed:

  • .Rprofile
  • .Renviron
  • .qmd (quarto markdown notebook, also relevant for py and Julia projects)
  • .Rnw (sweave; becomes less relevant because of RMarkdown and Quarto, but still very nice for going 10 plus years back and reproduce stuff.)

Out of my mind these should be most relevant additional text extensions specific to R. => I will copy these extensions into https://github.com/SwissDataScienceCenter/renku-ui/issues/2637

philipp-baumann avatar Jul 06 '23 17:07 philipp-baumann