When trying to control the width of the output by sessioninfo::session_info(), I can only use options(), as withr::with_options() doesn't change anything:
withr::with_options(
list(width = 50),
sessioninfo::session_info()
)
options(width = 50)
sessioninfo::session_info()
Do you have any idea why that might be the case?