Enclose 'yourpackage' in quotes

This is what's done in ggplot2: https://github.com/hadley/ggplot2/blob/master/tests/test-all.R
Merge pull request #114 from wibeasley/patch-2

Enclose 'yourpackage' in quotes