File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,13 @@ then
115
115
export R_HOME=$( R RHOME )
116
116
117
117
log " Installing RInside into $R_HOME ..."
118
- Rscript $DEV_CONDA /install-RInside.R 2>&1 | \
119
- tee $RECIPE_DIR /install-RInside.log
118
+ (
119
+ # Allow pipe errors here:
120
+ # we put token "Swift-RInside-SUCCESS" in the log:
121
+ set +o pipefail
122
+ Rscript $DEV_CONDA /install-RInside.R 2>&1 | \
123
+ tee $RECIPE_DIR /install-RInside.log
124
+ )
120
125
if ! grep -q " Swift-RInside-SUCCESS" $RECIPE_DIR /install-RInside.log
121
126
then
122
127
abort " Installing RInside failed."
Original file line number Diff line number Diff line change 3
3
# Installs RInside for the Anaconda package
4
4
# Called by build-generic.sh
5
5
6
+ cat(" install-RInside.R: starting...\n " )
7
+
6
8
install.packages(" RInside" ,
7
- repos = " http://cran.us.r-project.org" )
9
+ # repos="http://cran.us.r-project.org",
10
+ repos = " https://cran.case.edu" ,
11
+ verbose = TRUE )
8
12
if (! library(" RInside" ,
9
13
character.only = TRUE , logical.return = TRUE )) {
10
14
quit(status = 1 )
11
15
}
12
- print( " Swift-RInside-SUCCESS" )
16
+ cat( " install-RInside.R: Swift-RInside-SUCCESS\n " )
Original file line number Diff line number Diff line change @@ -530,13 +530,13 @@ namespace eval turbine {
530
530
}
531
531
532
532
proc do_glob { result inputs } {
533
- rule $inputs " glob_body $result $inputs " \
533
+ rule $inputs " do_glob_body $result $inputs " \
534
534
name " glob-$result " type $::turbine::WORK
535
535
}
536
536
proc do_glob_body { result s } {
537
537
set s_value [ retrieve_decr_string $s ]
538
538
set r_value [ ::glob -nocomplain $s_value ]
539
- log " glob : $s_value "
539
+ log " do_glob : $s_value "
540
540
541
541
set i 0
542
542
foreach v $r_value {
You can’t perform that action at this time.
0 commit comments