R/zzz.R

Defines functions .onUnLoad .onLoad

.onLoad <- function(libname, pkgname) { #nocov start
  # Set the option to TRUE if it has not been set before.
  if (is.null(getOption("nloptr.show.inequality.warning")))
    options("nloptr.show.inequality.warning" = TRUE)
}

.onUnLoad <- function(libpath) {
  library.dynam.unload("nloptr", libpath)
} #nocov end

have.nlopt.ld.lbfgs.nocedal <- FALSE

Try the nloptr package in your browser

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

nloptr documentation built on April 4, 2025, 5:59 a.m.