Skip to content
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

Support R 3.1? #123

Closed
krlmlr opened this issue Jul 21, 2018 · 8 comments
Closed

Support R 3.1? #123

krlmlr opened this issue Jul 21, 2018 · 8 comments

Comments

@krlmlr
Copy link

krlmlr commented Jul 21, 2018

Tried to set up a testing environment for R 3.1 for fansi, but noticed that diffobj requires R 3.2. What's the reason?

@brodieG
Copy link
Owner

brodieG commented Jul 21, 2018

No specific reason other than 3.2 felt far enough back and I wasn't testing that far back. There might be something that breaks in 3.1, but probably not.

Now that you mention this, this might be the reason the 3.1 test broke wrt to unitizer, since it uses diffobj. What I don't understand is how it could have ever worked in the first place, as it did when I tested it for the original release. This is something I'll need to look into more.

@brodieG brodieG added bug and removed question labels Jul 21, 2018
@brodieG brodieG added this to the 0.1.11 milestone Jul 21, 2018
@brodieG
Copy link
Owner

brodieG commented Jul 21, 2018

Ok, I figured out what happened. Since releasing fansi, I added the Depends >= 3.2 to diffobj, thinking that was a smart thing to do given that I do not test diffobj for <= 3.2... I'll need to fix that too.

@krlmlr
Copy link
Author

krlmlr commented Jul 21, 2018

Thanks! The tidyverse packages aim at supporting R >= 3.1, it's a baseline not too far back in the past.

@brodieG
Copy link
Owner

brodieG commented Jul 22, 2018

Yes, I just failed to remember that fansi has a suggests dependency on diffobj, and as such diffobj also needs to be R3.1 like fansi. It was a careless mistake. I'll address this first and get it on CRAN, and then the fansi issues (otherwise tests will keep failing on 3.1).

@brodieG
Copy link
Owner

brodieG commented Jul 26, 2018

Fyi, working on this now. There are a couple of potential issues I need to figure out. This will be a blocking issue for all the fansi issues that need to be resolved. I hope to get this done in the next couple of days.

brodieG added a commit that referenced this issue Jul 26, 2018
@brodieG
Copy link
Owner

brodieG commented Jul 26, 2018

This is now fixed on the development branch. Took longer than I expected as there was a surprising (to me) amount of code that relied on > 3.2.

brodieG added a commit that referenced this issue Jul 29, 2018
@krlmlr
Copy link
Author

krlmlr commented Aug 2, 2018

Thanks for taking the effort!

@brodieG
Copy link
Owner

brodieG commented Aug 2, 2018

Not at all! When I agreed to make fansi 3.1 compatible, I implicitly committed myself to do the same for diffobj, even though I didn't quite realize it at the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants