R/combinedPath.R

combinedPath <- function (dir=NULL, fn)
{
    if(is.null(fn)){
        return(fn)
    }
    if (is.null(dir)) {
        dir <- getwd()
    }
    dir <- normalizePath(dir)
    fnc <- file.path(dir, fn)
    return(fnc)
    ## There is absolutely no point in returning a list.
}

Try the Pigengene package in your browser

Any scripts or data that you put into this service are public.

Pigengene documentation built on Nov. 8, 2020, 6:47 p.m.