R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
    path <- Sys.which("espeak")
    if (path != "") {
        options("director.espeakPath"=path)
    } else {
        options("director.espeakPath"=NULL)
    }
}
pmur002/director documentation built on Feb. 18, 2021, 10:23 p.m.