On Wed, Apr 19, 2023 at 9:19 AM A. Kucharski wrote:
>
> Hi,
>
> I am developing my own package. I have a problem with its new version.
> Checking on the CRAN server gives 2 warnings like this (critpath is my
> package):
> Warning: replacing previous import 'dplyr::lag' by 'stats::lag' when loadi
Hi Adam,
If you don't mind adding another dependency to your package, you can
use the {conflicted} package and its conflict_prefer function.
Best,
Ahmadou
On Wed, Apr 19, 2023 at 2:18 PM A. Kucharski wrote:
>
> Hi,
>
> I am developing my own package. I have a problem with its new version.
> C
If you use Depends: in your package I think this is unavoidable
(but, I don't think these should be counted against you as warnings by
CRAN - they're "Warnings" not "WARNINGs" :-) )
The only way I know of to avoid this would be to Import: rather than
Depend:, and import only the functio
Hi,
I am developing my own package. I have a problem with its new version. Checking
on the CRAN server gives 2 warnings like this (critpath is my package):
Warning: replacing previous import 'dplyr::lag' by 'stats::lag' when loading
'critpath'
Warning: replacing previous import 'dplyr::filter' b