build_config_path: Create a configuration file name in the form of...

Description Usage Arguments Value Examples

Description

Create a configuration file name in the form of /path/to/.hostname-rc

Usage

1
build_config_path(hostname = system("hostname", intern = TRUE), path = "~")

Arguments

hostname

character hostname

path

character the directory of the configuration file

Value

the complete configuration file path

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 ## Not run: 
 build_config_path()
 [1] "~/.scgc-clarity-dev-rc"
 build_config_path(hostname = 'foo')
 [1] "~/.foo-rc"
 build_config_path(hostname = 'foo', path = '/stairway/to/heaven')
 [1] "/stairway/to/heaven/.foo-rc"
 build_config_path(hostname = 'foo.bar.org', path = '/stairway/to/heaven')
 [1] "/stairway/to/heaven/.foo-rc"
 
## End(Not run)

BigelowLab/genologicsr documentation built on May 5, 2019, 2:42 p.m.