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
I've been using lintr with travis since a long time, and it has always worked, but it has stopped working since a last few days, and I am not sure why.
Activity
AshesITR commentedon Feb 9, 2021
Can you reproduce this locally with the current lintr master?
IndrajeetPatil commentedon Feb 9, 2021
It works without any problem on my local
Windowsmachine and also onMacOSingithub-actions.But Travis-CI is running
lintronUbuntumachines, and I don't have access to one.AshesITR commentedon Feb 9, 2021
That is very curious.
It might be related to non-ascii characters.
Could you have travis run
dput(lintr::lint_package())as a test instead?That should give us the list of lints it tries to print before dying.
IndrajeetPatil commentedon Feb 12, 2021
Hmm, I don't think there is anything amiss from
lintr's side here, since it works withtravisjust fine with my other repository.I will close this and see what is special with
ggstatsplot's behavior ontravis.AshesITR commentedon Feb 13, 2021
I could reproduce when writing a test for
expect_lint_free.Here's the root cause:
Yields
AshesITR commentedon Feb 13, 2021
Tracked it down to the
commented_code_linteryieldingNAuse correct index for rows of `code_candidates`