-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
In R packages, it is possible to use external data as internal data (i.e. use data exported by my package in my own package functions). This can be done by this syntax my_package::my_external_data (see link below):
https://coolbutuseless.github.io/2018/12/10/r-packages-internal-and-external-data/
However, in doing that, sinew interprets that my_package is a third-party package, then adds it on DESCRIPTION "Imports" and on Roxygen comments (@Importfrom my_package my_external_data), which leads to circular references and errors from CMD Check.
The solution I believe is to simply program to add nothing when the name of the package is the same of the package you are creating.
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels