update require argument for as.function.calls to check for installed packages prior to calling "require"