use package_version for compatibility with R 2.11.1