Skip to content

Commit eba2d26

Browse files
committed
Wrap checkREnvironment.sh in r_data_science conditional
- Only generate the script when r_data_science is selected - Keeps projects clean by not including unnecessary R files
1 parent 993dd4d commit eba2d26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/.devcontainer/checkREnvironment.sh.jinja

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
{% if r_data_science %}#!/usr/bin/env bash
22
set -euo pipefail
33

44
# R Environment Check Script
@@ -51,3 +51,4 @@ else
5151
fi
5252

5353
echo "🎉 R environment check completed successfully"
54+
{% endif %}

0 commit comments

Comments
 (0)