R/gtoxConfDefault.R

#####################################################################
## This program is distributed in the hope that it will be useful, ##
## but WITHOUT ANY WARRANTY; without even the implied warranty of  ##
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the    ##
## GNU General Public License for more details.                    ##
#####################################################################

#-------------------------------------------------------------------------------
# gtoxConfDefault: Generate default config file
#-------------------------------------------------------------------------------

#' @rdname config_funcs
#' 
#' @examples
#' 
#' ## Configure database with default parameters
#' gtoxConfDefault()
#' 
#' @export

gtoxConfDefault <- function () {

    sqlite <- file.path(
        system.file(package="GladiaTOX"),
        "sql",
        "gladiatoxdb.sqlite"
    )
    gtoxConf(db=sqlite, user=NA, host=NA, drvr="SQLite")

}

#-------------------------------------------------------------------------------

Try the GladiaTOX package in your browser

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

GladiaTOX documentation built on Nov. 15, 2020, 2:07 a.m.