Skip to content

Package build help

3 messages · Glenn Schultz, Duncan Murdoch, Hadley Wickham

#
Hello All,

I am in the final stages of building my first package "BondLab" and the check throughs the following warning. ?I think this is namespace thing. ?I have not done anything with the namespace at this point. ?I am turning my attention to the namespace now. ?Am I correct this can be a handled by the namespace?

Thanks,
Glenn

Found the following significant warnings:
? Warning: replacing previous import by ?lubridate::duration? when loading ?BondLab?
? Warning: replacing previous import by ?plyr::here? when loading ?BondLab?
#
On 08/02/2015 4:06 PM, Glenn Schultz wrote:
I would guess you have imported the lubridate and plyr packages, and
also defined your own duration() and here() functions, hiding theirs.

Duncan Murdoch
2 days later
#
On Sun, Feb 8, 2015 at 5:15 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
You can also see this problem if you have

import(plyr)
import(plyr, here)

etc.

Or with

import(plyr)
import(lubridate)

since I think both provide a here() function.

Hadley