Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upload_all() and test() don't load package dependencies? #1472
Comments
|
data.table uses some magic to determine if it's needed or not. Clearly the magic is failing due to the special way that I'd recommend filing a minimal reproducible example at pkgbuild, which is where the package loading code now lives. You'll probably need to create a minimal package that illustrates the problem and host it on github. |
|
Sorry, I meant pkgload, not pkgbuild |
|
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
Please see issues linked below.
Rdatatable/data.table#2023
Rdatatable/data.table#2053
It seems that
test()andload_all()and possibly others have recently changed behaviour with regards to resolving imported packages, at least with regards to the 'data.table' package.Testing of perfectly valid code should not fail like that.