hadley / r-pkgs

Building R packages
https://r-pkgs.org
Other
869 stars 631 forks source link

Incorrect namespace for `package_version()` #998

Open joshwlambert opened 1 year ago

joshwlambert commented 1 year ago

In chapter 21.2 it states that package_version() is from the {utils} package. As far as I can see, {utils} exports packageVersion() and package_version() is part of base. This also directly affects footnote 2 in this chapter.

I'm using R v4.3.2.