Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error in loadNamespace("DT") : there is no package called ‘DT’ #343

Closed
ramiromagno opened this issue Nov 6, 2018 · 4 comments
Closed

Comments

@ramiromagno
Copy link

ramiromagno commented Nov 6, 2018

covr::report() gives me:

Error in loadNamespace("DT") : there is no package calledDT

should not the package DT be moved from the Suggests to the Imports section?

covr version is 3.2.1.

@jimhester
Copy link
Member

jimhester commented Nov 6, 2018

No, it is in suggests by design, you simply need to install DT on your system.

@ramiromagno
Copy link
Author

Thank you for your quick reply.

Would you mind explaining what you mean by it is in suggest by design?

@jimhester
Copy link
Member

#53 (comment)

previously shiny, and now DT is purposefully only in Suggests, because it is needed only when running report(), we don't want to install it when people are using covr on travis.

@ramiromagno
Copy link
Author

hey @jimhester,

thank you for the explanation!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants