Browse Source

added clean test

lucananni93 2 năm trước cách đây
mục cha
commit
1413658736
1 tập tin đã thay đổi với 15 bổ sung0 xóa
  1. 15 0
      scripts/clean_test.sh

+ 15 - 0
scripts/clean_test.sh

@@ -0,0 +1,15 @@
+#!/bin/bash
+
+source ~/miniconda3/etc/profile.d/conda.sh
+
+TEST_ENV_NAME="R-Test"
+
+mamba create --yes --name ${TEST_ENV_NAME} --channel bioconda \
+		r-essentials r-devtools bioconductor-biocinstaller bioconductor-genomicranges \
+		r-nloptr
+conda activate ${TEST_ENV_NAME}
+
+R -e "devtools::install('.', dependencies=TRUE)"
+
+conda deactivate 
+mamba env remove --yes --name ${TEST_ENV_NAME}