-
Notifications
You must be signed in to change notification settings - Fork 73
PRs pass tic but not R CMD Check #186
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
Comments
This may be a change in rcmdcheck, tic expects a named list with components |
Those components are still there, but there are some new ones as well. |
OK. (I don't understand, though, #185 is only adding a single space, seemingly.) |
Yes, I only added a space, but this space is needed for the tests to pass. Most tests in styler are "take a file, style it and compare it to a reference file". So I updated the reference file because before, the styling rule was adapted and yields a different outcome than before. |
Oh, so this is not an |
@krlmlr so should we file an issue in tic and close this? |
@gaborcsardi: I can replicate locally. git clone https://github.com/krlmlr/tic.package.git --branch f-test-failure
cd tic.package
R -q -e 'remotes::install_github("ropenscilabs/tic")'
R -q -e 'install.packages("rcmdcheck")'
R -q -e 'tic::script()' # fails to fail
R -q -e 'remotes::install_github("r-lib/rcmdcheck")'
R -q -e 'tic::script()' # fails successfully How do I reliably count the errors, warnings, and notes from an rcmdcheck object in both the CRAN and GitHub versions of rcmdcheck? |
I don't understand. So this is an
|
Relevant code in tic looks similar: https://github.com/ropenscilabs/tic/blob/master/R/steps-rcmdcheck.R#L13-L22 It seems to work as expected with the GitHub version of rcmdcheck, but not with the CRAN version of rcmdcheck, this is what my reprex above demonstrates. |
This seems to be a bug in the CRAN version of |
Am I right that the next |
because the CRAN version doesn't properly detect errors, e.g. https://travis-ci.org/krlmlr/styler/builds/272236933#L1365 See also r-lib/styler#186
tic will install rcmdcheck from GitHub for now, please watch out for check failures that are not recognized by Travis or AppVeyor. |
WIth #205, I get perfect local |
NOTEs currently don't cause a test to fail, but this can be changed in |
Well since the offending file causing |
Yeah, tic should print a summary. |
I note that various PRs (e.g. #183, not merged or #179, merged) that do not pass
R CMD Check
on travis, but are showed as passing on the conversation tab of the PR.@krlmlr Is that an issue with tic?
I submitted #185 to fix
R CMD Check
. The error was arguably introduced with #174.The text was updated successfully, but these errors were encountered: