@@ -193,7 +193,7 @@ export class PackageManager {
193193 // remove a specified package. The packagename is selected e.g. in the help tree-view
194194 public async removePackage ( pkgName : string ) : Promise < boolean > {
195195 const rPath = this . rHelp . rPath ;
196- const args = [ '--silent' , '--slave ' , '--no-save' , '--no-restore' , '-e' , `remove.packages('${ pkgName } ')` ] ;
196+ const args = [ '--silent' , '--no-echo ' , '--no-save' , '--no-restore' , '-e' , `remove.packages('${ pkgName } ')` ] ;
197197 const cmd = `${ rPath } ${ args . join ( ' ' ) } ` ;
198198 const confirmation = 'Yes, remove package!' ;
199199 const prompt = `Are you sure you want to remove package ${ pkgName } ?` ;
@@ -211,7 +211,7 @@ export class PackageManager {
211211 public async installPackages ( pkgNames : string [ ] , skipConfirmation : boolean = false ) : Promise < boolean > {
212212 const rPath = this . rHelp . rPath ;
213213 const cranUrl = await getCranUrl ( '' , this . cwd ) ;
214- const args = [ `--silent` , '--slave ' , `-e` , `install.packages(c(${ pkgNames . map ( v => `'${ v } '` ) . join ( ',' ) } ),repos='${ cranUrl } ')` ] ;
214+ const args = [ `--silent` , '--no-echo ' , `-e` , `install.packages(c(${ pkgNames . map ( v => `'${ v } '` ) . join ( ',' ) } ),repos='${ cranUrl } ')` ] ;
215215 const cmd = `${ rPath } ${ args . join ( ' ' ) } ` ;
216216 const pluralS = pkgNames . length > 1 ? 's' : '' ;
217217 const confirmation = `Yes, install package${ pluralS } !` ;
@@ -227,7 +227,7 @@ export class PackageManager {
227227 public async updatePackages ( skipConfirmation : boolean = false ) : Promise < boolean > {
228228 const rPath = this . rHelp . rPath ;
229229 const cranUrl = await getCranUrl ( '' , this . cwd ) ;
230- const args = [ '--silent' , '--slave ' , '--no-save' , '--no-restore' , '-e' , `update.packages(ask=FALSE,repos='${ cranUrl } ')` ] ;
230+ const args = [ '--silent' , '--no-echo ' , '--no-save' , '--no-restore' , '-e' , `update.packages(ask=FALSE,repos='${ cranUrl } ')` ] ;
231231 const cmd = `${ rPath } ${ args . join ( ' ' ) } ` ;
232232 const confirmation = 'Yes, update all packages!' ;
233233 const prompt = 'Are you sure you want to update all installed packages? This might take some time!' ;
0 commit comments