You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
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 thatmy_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.
The text was updated successfully, but these errors were encountered: