1 parent 9e6b7ae commit 15fe6d6Copy full SHA for 15fe6d6
1 file changed
scripts/setup_codex.sh
@@ -112,8 +112,16 @@ apt-get install -y --no-install-recommends r-cran-devtools # not strictly neces
112
113
114
115
+# Interactively asked codex how many cores are available
116
+# it ran nproc and got back 5
117
+echo >> ~/.Renviron <<'EOF'
118
+NOT_CRAN=true
119
+TESTTHAT_CPUS=5
120
+EOF
121
+
122
echo >> ~/.Rprofile <<'EOF'
123
options(
124
+ Ncpus = 4L,
125
testthat.use_colours = FALSE,
126
# testthat.summary.max_reports: The maximum number of detailed test reports printed for the summary reporter (default: 10).
127
testthat.summary.omit_dots = TRUE
0 commit comments