v0.3.1: three changes all to pass cran check. Vignette moved to vignette directory, ::: removed, globalVariables added