Remove match.call() access to as.period() unit argument
Merge pull request #282 from juba/fix_unit

Remove match.call() access to as.period() unit argument