Commit 3e5587af authored by jlopez's avatar jlopez
Browse files

Fix #20

parent c84c9159
...@@ -289,6 +289,13 @@ function generate_container() { ...@@ -289,6 +289,13 @@ function generate_container() {
PREVIEW += "\n############### Install R ##############\n"; PREVIEW += "\n############### Install R ##############\n";
if(isSingularity) {
PREVIEW += "\t"+manager+" install -y " + "make" + "\n";
} else {
PREVIEW += "RUN "+manager+" install -y " + "make" + "\n";
}
if(isSingularity) { if(isSingularity) {
PREVIEW += '\tcd $HOME'; PREVIEW += '\tcd $HOME';
PREVIEW += '\n\twget https://cran.rstudio.com/src/base/R-3/R-'+ rversion+ '.tar.gz'; PREVIEW += '\n\twget https://cran.rstudio.com/src/base/R-3/R-'+ rversion+ '.tar.gz';
......
...@@ -24,8 +24,8 @@ function printSection($name, $db) { ...@@ -24,8 +24,8 @@ function printSection($name, $db) {
<div class="form-group"> <div class="form-group">
<label for="selectedR" class="font-weight-bold">R version :</label> <label for="selectedR" class="font-weight-bold">R version :</label>
<select class="custom-select" id="selectedR"> <select class="custom-select" id="selectedR">
<option value="0" >None</option> <option value="0" selected="selected" >None</option>
<option value="3.5" selected="selected">3.5</option> <option value="3.5">3.5</option>
</select> </select>
</div> </div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment