wrapped_functions function

Standard R functions wrapped for compatibility