add tests for R conda
RENAME
tests/conda/r/environment.yml
tests/conda/r3.6/environment.yml
RENAME
tests/conda/r/verify
tests/conda/r3.6/verify
jupyter serverextension list 2>&1 | grep jupyter_server_proxy
jupyter nbextension list 2>&1 | grep jupyter_server_proxy
R -e "library('ggplot2')"
+# Fail if version is not 3.6
+R -e 'if (!(version$major == "3" && as.double(version$minor) >= 6 && as.double(version$minor) < 7)) quit("yes", 1)'
\ No newline at end of file

ADD
tests/conda/r4.0/environment.yml
+dependencies:
+ - r-base=4.0
+ - r-ggplot2

ADD
tests/conda/r4.0/verify
+#!/bin/sh
+
+jupyter serverextension list 2>&1 | grep jupyter_server_proxy
+jupyter nbextension list 2>&1 | grep jupyter_server_proxy
+R -e "library('ggplot2')"
+# Fail if version is not 4.0
+R -e 'if (!(version$major == "4" && as.double(version$minor) >= 0 && as.double(version$minor) < 1)) quit("yes", 1)'
\ No newline at end of file

ADD
tests/conda/r4.1/environment.yml
+dependencies:
+ - r-base=4.1
+ - r-ggplot2

ADD
tests/conda/r4.1/verify
+#!/bin/sh
+
+jupyter serverextension list 2>&1 | grep jupyter_server_proxy
+jupyter nbextension list 2>&1 | grep jupyter_server_proxy
+R -e "library('ggplot2')"
+# Fail if version is not 4.1
+R -e 'if (!(version$major == "4" && as.double(version$minor) >= 1 && as.double(version$minor) < 2)) quit("yes", 1)'
\ No newline at end of file

add tests for R conda