don't throw error if namespace is empty

example: https://github.com/krlmlr/R-pkg-template

didn't know where/how to add a test for this