You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
R version compatibility? Or other minimum versions? #236
Sorry this issue is a bit vague atm. In a branch, I've put styler into Suggests for reprex. reprex claims to work down to R 3.1 and I check this on travis. I know 3.1 is tricky right now due to purrr only recently becoming 3.1 compatible, so let's set that aside.
Here's the log file for reprex's failure on 3.2. The problem seems to be from styler. Does anything informative leap out at you?
Yes, true. I just set that up. The branch contains a few additional commits compared to master since I wanted to test with standard travis (instead of tic) anyways before the CRAN Submission. If the CI fails on this branch, I can remove those commits from the branch and we can see whether it still fails.
@jennybc I think I spotted the problem after installing R 3.2 locally, running the tests and debugging. It was related to base R. See a34959a. All tests pass with R 3.2.5 on travis. Do you want to rebase on master and try again?
Activity
lorenzwalthert commentedon Oct 11, 2017
No, at least the error message does not seem to be related to be top-level styler source code (i.e. code we wrote in styler).
lorenzwalthert commentedon Oct 11, 2017
I can't tell whether it is related to our only remote dependency (
krlmlr/utf8) though. It seems as CI is only run on current R versions there.lorenzwalthert commentedon Oct 11, 2017
Well before CI was done with tic, it was also run on R 3.3.3 successfully I think, but apparently not on older versions.
lorenzwalthert commentedon Oct 11, 2017
We could also ssh into travis for debugging as @krlmlr did.
jennybc commentedon Oct 11, 2017
It would be interesting to know if your tests pass on 3.2.
lorenzwalthert commentedon Oct 11, 2017
Yes, true. I just set that up. The branch contains a few additional commits compared to master since I wanted to test with standard travis (instead of tic) anyways before the CRAN Submission. If the CI fails on this branch, I can remove those commits from the branch and we can see whether it still fails.
lorenzwalthert commentedon Oct 11, 2017
Ok, the CI fails on R 3.2.5 early. Will look into it further.
lorenzwalthert commentedon Oct 11, 2017
Reference: #237.
lorenzwalthert commentedon Oct 11, 2017
@jennybc I think I spotted the problem after installing R 3.2 locally, running the tests and debugging. It was related to base R. See a34959a. All tests pass with R 3.2.5 on travis. Do you want to rebase on master and try again?
jennybc commentedon Oct 11, 2017
Yes my 3.2 build is successful now 🎉 so that was it.
lorenzwalthert commentedon Oct 11, 2017
Awesome.