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

Minor potential bug in add_gg #99

Open
JohMast opened this issue Nov 9, 2020 · 0 comments
Open

Minor potential bug in add_gg #99

JohMast opened this issue Nov 9, 2020 · 0 comments

Comments

@JohMast
Copy link

JohMast commented Nov 9, 2020

add_gg, Line 121:
If working with a very short number of frames,
if(length(gg) != length(frames)) gg <- rep(list(gg), length(frames))
can evaluate to FALSE, because the number of frames happens to be the same as the number of gg expressions. In that case no repeated list will be created.

This would probably never happen in practice, but perhaps a more precise check can be found.

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

No branches or pull requests

1 participant