vis seems to use dev-lua/lpeg at runtime (not just for tests). Noticed when a user reported the issue in #gentoo (at runtime the program wouldn't allow using lpeg features like syntax highlighting(?)). https://github.com/martanne/vis/search?q=lpeg seems consistent too.
Yes, vis uses (but doesn't requires) lpeg at runtime, which is advertised in the ebuild at install time via optfeature. I originally put lpeg as dependency of the lua USE flag because it's a small dependency anyway but it got changed during review.
(In reply to Haelwenn (lanodan) Monnier from comment #1) > Yes, vis uses (but doesn't requires) lpeg at runtime, which is advertised in > the ebuild at install time via optfeature. > > I originally put lpeg as dependency of the lua USE flag because it's a small > dependency anyway but it got changed during review. I'm sorry, I hadn't noticed. For small dependencies, if it's a big quality of life improvement, I generally prefer to do the flag (if the main package doesn't take long to build either, e.g. pure Python/Lua/etc). Up to you though.