SwissDataScienceCenter / renku-project-template

A repository for default Renku project templates.
https://renkulab.io
4 stars 20 forks source link

build: add .Rproj file #81

Closed emmjab closed 4 years ago

emmjab commented 4 years ago

templated file name for R projects

when this is merged, can take out same content from entrypoint.sh in renkulab-docker's docker/r/entrypoint.sh.

rokroskar commented 4 years ago

@Panaetius you think the name fix should be done in core or here? For an example of the problem see https://dev.renku.ch/projects/rokroskar/test-new-r-template-drugic and then launch an environment going to RStudio - the Rproj file is incorrectly named.

rokroskar commented 4 years ago

I made the change to use the newly-added __sanitized_project_name__ variable in the template to create the RProj file and it seems to work.

See this project for an example: https://dev.renku.ch/projects/rokroskar/try-to-make-another-project-with-a-funny-name/files