-
Notifications
You must be signed in to change notification settings - Fork 49
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
Something is wrong re: checking for src/
directory
#249
Comments
Here's an example of one of the new test failures, which I think are false positives caused by a pkgload bug:
|
I think you'll need to do a release for #248 (I'm surprised you aren't on the same email I am, but maybe CRAN did this in batches), but I also think it's important that this get sorted out before said release. |
This error doesn't happen for end users because devtools depends on pkgbuild. To fix this on reduced stack (e.g. CI where Jenny encountered the problem IIUC), should we just make pkgload depend on pkgbuild @gaborcsardi? |
I don't mind if pkgload imports pkgbuild, but it seems that that pkgload change made pkgbuild a test dependency of usethis, so maybe usethis can suggest pkgbuild? |
IIUC with the change |
Oh, right, that makes sense. Otoh maybe we can undo that change and look at /src/, /configure and the NeedsCompilation field instead? Just a suggestion, I don't mind adding it as a dependency, either. |
I wondered about that too but it seems simpler to just take the dependency. I'll do that and release pkgload. |
I'll contribute something more concrete soon. But in the tests that started failing in usethis, the toy package doesn't have a |
We could make pkgbuild an optional dependency by adding a bunch of logic to detect if we do need to build, as Gabor suggested. |
And/or change the message? It's just really confusing when it claims there's a |
I think it is conceivably worth it to actually try and determine if pkgbuild is necessary, but I will defer to you folks on that point. |
I opted for simplicity and made it a dependency. Does it fix your issue @jennybc? |
Yes, usethis passes |
I think something is not right / finished about: 9cea172
With dev pkgload installed, suddenly several of usethis's long-standing tests start to file like so:
To experience this for yourself, run usethis's tests with CRAN pkgload (1.3.2) versus the current dev version.
The text was updated successfully, but these errors were encountered: