Skip to content

Commit

Permalink
fixed package installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Dec 5, 2024
1 parent 1fbc90a commit 3c32dfc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions rstudio/rstudio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
- name: Install R role
include_role:
name: oefenweb.latest_r
vars:
r_packages:
- name: remotes
- name: cran4linux/rspm
type: github
when: not rstudio_vars.create_only_backend

- name: Install rstudio-server role
Expand All @@ -31,16 +36,12 @@
vars:
rstudio_install: [r-base]
rstudio_server_version: "{{ rstudio_vars.RSTUDIO_VERSION | replace('v', '') | replace('+', '-') }}"
r_packages:
- name: remotes
- name: cran4linux/rspm
type: github
when: not rstudio_vars.create_only_backend

- name: Ensure .Rprofile file exists
become: true
file:
path: /home/{{ rstudio_vars.default_user }}/.Rprofile
path: /home/{{ rstudio_vars.default_user }}git/.Rprofile
state: touch
when: not rstudio_vars.create_only_backend
- name: Configure R profile
Expand Down

0 comments on commit 3c32dfc

Please sign in to comment.