[Bioc-devel] R environment variable which indicates "running in the bioc build system"?

Paul Shannon p@u|@thurmond@@h@nnon @end|ng |rom gm@||@com
Fri Sep 13 01:05:15 CEST 2019


Thanks, Herve.

How can I determine if a web browser is indeed installed?   

Sys.getenv("R_BROWSER”) returns:

 macOS: “/usr/bin/open”
 ubuntu: “xdc-open”

I don’t think either of these actually reveals an actual and functioning installation.

Other ideas?

 - Paul

> On Sep 12, 2019, at 3:13 PM, Pages, Herve <hpages using fredhutch.org> wrote:
> 
> AFAIK the build machines have web browsers.
> 
> Anyway if for some reason you need to disable the code that relies on a 
> web browser, wouldn't it make more sense to condition this code on the 
> presence of a web browser?



More information about the Bioc-devel mailing list