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?
Package build help
3 messages · Glenn Schultz, Duncan Murdoch, Hadley Wickham
On 08/02/2015 4:06 PM, Glenn Schultz wrote:
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?
I would guess you have imported the lubridate and plyr packages, and also defined your own duration() and here() functions, hiding theirs. Duncan Murdoch
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?
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
2 days later
On Sun, Feb 8, 2015 at 5:15 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
On 08/02/2015 4:06 PM, Glenn Schultz wrote:
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?
I would guess you have imported the lubridate and plyr packages, and also defined your own duration() and here() functions, hiding theirs.
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