sonatype-nexus-community / oysteR

Create purls from the filtered sands of your dependencies, powered by OSS Index
https://sonatype-nexus-community.github.io/oysteR/
Apache License 2.0
40 stars 9 forks source link

[BUG] packageVersion added directly to NAMESPACE #13

Closed csgillespie closed 4 years ago

csgillespie commented 4 years ago

Describe the bug

The NAMESPACE file is automatically generated via roxygen2. In 4caa8ceea086048703d30efec9fe5403f311881a, the function packageVersion was added directly so would be deleted on using roxygen2.

Also, the get_version() function is a little more complicated than need be, and could be simplified. In particular, why would utils::packageVersion('oysteR') ever fail? If it did, something is seriously wrong.

Desktop (please complete the following information):