-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import packages in DESCRIPTION #2
Comments
Fixed. @boyiguo1, please try re-installing again and confirming that it works now. I'll close the issue once I get confirmation on your end. |
I highly recommend you to address other warning messages show up when running
Here is the partial output of
You'll have to address both errors and warnings minimally. |
Done |
There are functions imported from extenernal packages, such as
MASS
anddbscan
. While the functions are correctly imported to the namesspace, it is also mandatory to imports these packages in the DESCRIPTION file to set up correct dependency during installation. Otherwise, it will lead to errors duringdevtools::check(document = FALSE)
. See the message below.To fix it, you can simply adding these packages to the the
Imports
field in the DESCRIPTION file. See more detail via https://r-pkgs.org/description.html#sec-description-imports-suggests. I think for now, you can simplyImports
instead ofDepends
.The text was updated successfully, but these errors were encountered: