R/zzz.R

Defines functions .onAttach .onLoad

#------------------------------------------------------------------------------#
#                          Link to libSBML for sybil                           #
#------------------------------------------------------------------------------#

#  zzz.R
#  Link to libSBML for sybil.
#
#  Copyright (C) 2013 Gabriel Gelius-Dietrich, Dpt. for Bioinformatics,
#  Institute for Informatics, Heinrich-Heine-University, Duesseldorf, Germany.
#  All right reserved.
#  Email: geliudie@uni-duesseldorf.de
#
#  This file is part of sybilSBML.
#
#  SybilSBML is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  SybilSBML 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.
#
#  You should have received a copy of the GNU General Public License
#  along with sybilSBML  If not, see <http://www.gnu.org/licenses/>.


.packageName <- "sybilSBML"

.onLoad <- function(libname, pkgname) {
    .Call("initSBML", PACKAGE = "sybilSBML")
}

.onAttach <- function(libname, pkgname) {
    packageStartupMessage("using libSBML version ", versionLibSBML())
}
SysBioChalmers/sybil-SBML documentation built on Aug. 24, 2023, 1:11 p.m.