On Mon, 22 Feb 2021 at 11:55, Gábor Csárdi wrote:
>
> On Sun, Feb 21, 2021 at 3:47 PM Iñaki Ucar wrote:
> >
> > Hi,
> >
> > Let's say that pkgA uses pkgB::function1. Then, version 2 of pkgB
> > removes function1 and exports function2 for the same functionality. So
> > pkgA does something along th
rs.
FWIW, CRAN accepts a package with that note.
Georgi
-Original Message-
From: Iñaki Ucar
Sent: 22 February 2021 10:51
To: Georgi Boshnakov
Cc: Duncan Murdoch ; Gábor Csárdi
; R Package Development
Subject: Re: [R-pkg-devel] Support for several versions of another package
On Mon, 22 F
On Sun, Feb 21, 2021 at 3:47 PM Iñaki Ucar wrote:
>
> Hi,
>
> Let's say that pkgA uses pkgB::function1. Then, version 2 of pkgB
> removes function1 and exports function2 for the same functionality. So
> pkgA does something along these lines:
>
> if (utils::packageVersion("pkgB") < 2) {
> pkgB::f
; Georgi Boshnakov
>
>
> -Original Message-
> From: R-package-devel On Behalf Of
> Duncan Murdoch
> Sent: 21 February 2021 19:43
> To: Gábor Csárdi
> Cc: R Package Development
> Subject: Re: [R-pkg-devel] Support for several versions of another package
>
&
om: R-package-devel On Behalf Of
Duncan Murdoch
Sent: 21 February 2021 19:43
To: Gábor Csárdi
Cc: R Package Development
Subject: Re: [R-pkg-devel] Support for several versions of another package
On 21/02/2021 12:17 p.m., Gábor Csárdi wrote:
> On Sun, Feb 21, 2021 at 6:05 PM Duncan Murdoch
&
On 21/02/2021 12:17 p.m., Gábor Csárdi wrote:
On Sun, Feb 21, 2021 at 6:05 PM Duncan Murdoch wrote:
On 21/02/2021 9:47 a.m., Iñaki Ucar wrote:
Hi,
Let's say that pkgA uses pkgB::function1. Then, version 2 of pkgB
removes function1 and exports function2 for the same functionality. So
pkgA doe
On Sun, Feb 21, 2021 at 6:05 PM Duncan Murdoch wrote:
>
> On 21/02/2021 9:47 a.m., Iñaki Ucar wrote:
> > Hi,
> >
> > Let's say that pkgA uses pkgB::function1. Then, version 2 of pkgB
> > removes function1 and exports function2 for the same functionality. So
> > pkgA does something along these line
On 21/02/2021 9:47 a.m., Iñaki Ucar wrote:
Hi,
Let's say that pkgA uses pkgB::function1. Then, version 2 of pkgB
removes function1 and exports function2 for the same functionality. So
pkgA does something along these lines:
if (utils::packageVersion("pkgB") < 2) {
pkgB::function1()
} else {
Hi,
Let's say that pkgA uses pkgB::function1. Then, version 2 of pkgB
removes function1 and exports function2 for the same functionality. So
pkgA does something along these lines:
if (utils::packageVersion("pkgB") < 2) {
pkgB::function1()
} else {
pkgB::function2()
}
I'd say that there's not