Updating code using new idea: there should only be a hybrid mode for accsessing global functions, but this mode should be ephemeral. For use with deployr, deployr should be part of a deployable project. Then to run the process in production it would be:

'pacman::on(), deployr::run_main()'

A lot cleaner I think.