File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 3939 )
4040 try :
4141 utils .install_packages (StrVector (packages_to_install ))
42- except Exception as e :
43- subprocess .run (['mkdir' , '-p' , 'bcn_r' ])
44- utils .install_packages (StrVector (packages_to_install ), lib_loc = StrVector (['bcn_r' ]))
42+ except Exception as e1 :
43+ try :
44+ subprocess .run (['mkdir' , '-p' , 'bcn_r' ])
45+ utils .install_packages (StrVector (packages_to_install ), lib_loc = StrVector (['bcn_r' ]))
46+ except Exception as e2 :
47+ pass
48+
4549 check_packages = True
4650
4751base = importr ("base" )
Original file line number Diff line number Diff line change 3838 )
3939 )
4040 try :
41- utils .install_packages (StrVector (packages_to_install ))
42- except Exception as e :
43- subprocess .run (['mkdir' , '-p' , 'bcn_r' ])
44- utils .install_packages (StrVector (packages_to_install ), lib_loc = StrVector (['bcn_r' ]))
41+ utils .install_packages (StrVector (packages_to_install ))
42+ except Exception as e1 :
43+ try :
44+ subprocess .run (['mkdir' , '-p' , 'bcn_r' ])
45+ utils .install_packages (StrVector (packages_to_install ), lib_loc = StrVector (['bcn_r' ]))
46+ except Exception as e2 :
47+ pass
48+
4549 check_packages = True
4650
4751base = importr ("base" )
You can’t perform that action at this time.
0 commit comments