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
115115  export  R_HOME=$(  R RHOME ) 
116116
117117  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+   )
120125  if  !  grep -q " Swift-RInside-SUCCESS"   $RECIPE_DIR /install-RInside.log
121126  then 
122127    abort " Installing RInside failed." 
Original file line number Diff line number Diff line change 33#  Installs RInside for the Anaconda package
44#  Called by build-generic.sh
55
6+ cat(" install-RInside.R: starting...\n "  )
7+ 
68install.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 )
812if  (!  library(" RInside"  ,
913    character.only = TRUE , logical.return = TRUE )) {
1014    quit(status = 1 )
1115}
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 {
530530    }
531531
532532    proc  do_glob  { result inputs } {
533-         rule $inputs  " glob_body  $result  $inputs "   \ 
533+         rule $inputs  " do_glob_body  $result  $inputs "   \ 
534534             name " glob-$result "   type $::turbine::WORK 
535535    }
536536    proc  do_glob_body  { result s } {
537537        set  s_value [ retrieve_decr_string $s  ]
538538        set  r_value [ ::glob -nocomplain $s_value  ]
539-         log " glob : $s_value " 
539+         log " do_glob : $s_value " 
540540
541541        set  i 0
542542        foreach  v $r_value  {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments