[R-pkg-devel] function name conflict

2022-04-12 Thread Kevin R. Coombes
Hi, I am writing a package that Imports several other packages. One of my imported packages eventually imports (through a chain of dependencies) "lifecycle", and another eventually imports "rlang". Both "rlang" and "lifecycle" define and export functions called "last_warnings".  As a result,

Re: [R-pkg-devel] function name conflict problem

2020-02-05 Thread sierrastew
why one of the data objects (used in the examples) would load the library. From: Hugh Parsonage Sent: Wednesday, February 5, 2020 12:31 AM To: sierras...@mindspring.com Cc: r-package-devel@r-project. org Subject: Re: [R-pkg-devel] function name conflict problem Package karon is the problem

Re: [R-pkg-devel] function name conflict problem

2020-02-04 Thread Hugh Parsonage
Package karon is the problem. Is that package in your depends or imports? Does that package use Depends? On Wed, 5 Feb 2020 at 8:24 am, wrote: > In trying to develop a package to be submitted to CRAN, when I do Install > and Reload or devtools::check(), I get the warning: > > > > Warning: replac

Re: [R-pkg-devel] function name conflict problem

2020-02-04 Thread sierrastew
erras...@mindspring.com; r-package-devel@r-project. org Subject: Re: [R-pkg-devel] function name conflict problem I find it's well explained in the book by Hadley Wickham: <http://r-pkgs.had.co.nz/namespace.html#imports> http://r-pkgs.had.co.nz/namespace.html#imports If package ellip

Re: [R-pkg-devel] function name conflict problem

2020-02-04 Thread Max Turgeon
: R-package-devel on behalf of sierras...@mindspring.com Sent: February 4, 2020 3:48:16 PM To: r-package-devel@r-project. org Subject: [R-pkg-devel] function name conflict problem Thanks Duncan. Please clarify: if I use ellipse::ellipse in code, do I need to have @importFrom ellipse eliips

[R-pkg-devel] function name conflict problem

2020-02-04 Thread sierrastew
ssage- > From: Duncan Murdoch > Sent: Tuesday, February 4, 2020 2:31 PM > To: sierras...@mindspring.com; r-package-devel@r-project. org > > Subject: Re: [R-pkg-devel] function name conflict problem > > On 04/02/2020 4:21 p.m., sierras...@mindspring.com wrote: &g

Re: [R-pkg-devel] function name conflict problem

2020-02-04 Thread Duncan Murdoch
On 04/02/2020 4:21 p.m., sierras...@mindspring.com wrote: In trying to develop a package to be submitted to CRAN, when I do Install and Reload or devtools::check(), I get the warning: Warning: replacing previous import 'ellipse::pairs' by 'graphics::pairs' when loading 'karon' Warning: rep

[R-pkg-devel] function name conflict problem

2020-02-04 Thread sierrastew
In trying to develop a package to be submitted to CRAN, when I do Install and Reload or devtools::check(), I get the warning: Warning: replacing previous import 'ellipse::pairs' by 'graphics::pairs' when loading 'karon' Warning: replacing previous import 'MVN::mvn' by 'mgcv::mvn' when loading