Re: [R-pkg-devel] referring to a package data object by two names

2017-10-09 Thread Gregory Jefferis
> landmark <- latestLandmark() > > > Regards, > Berry > > > From: R-package-devel <mailto:r-package-devel-boun...@r-project.org>> on behalf of Gregory Jefferis > mailto:jeffe...@gmail.com>> > Sent: Sunday, October 8, 2017 14:45 > To: Michael Dew

Re: [R-pkg-devel] referring to a package data object by two names

2017-10-08 Thread Gregory Jefferis
Dear Michael, Many thanks for writing. > Do any of the suggestions in section 1.5.3 of Writing R Extensions "Load > hooks" work? I thought I had tried all the various permutations in .onLoad but at your prompting I tried some more and this seems to work: .onLoad <- function (libname, pkgname)

Re: [R-pkg-devel] referring to a package data object by two names

2017-10-08 Thread Michael Dewey
Dear Greg Do any of the suggestions in section 1.5.3 of Writing R Extensions "Load hooks" work? Michael On 08/10/2017 08:40, Gregory Jefferis wrote: Dear R colleagues, I have a set of versioned data objects in a package. Let's call them landmarks.2016 landmarks.2017 I need to have access