R/defunct.R

Defines functions defunct

# this is a function generator (clusure): a function which returns another function
# to use in deprecated functions
# copy from: http://emilkirkegaard.dk/en/?p=6395
defunct = function(msg = "This function is depreciated") function(...) return(stop(msg))
Eucrow/sapmuebase documentation built on April 17, 2024, 10:29 a.m.