Consider not using devtools::session_info()
in preface
#84
chainsawriot
started this conversation in
Ideas
Replies: 1 comment
-
I agree, and I think sessionInfo is better suited: No dependencies and packages are sorted by loading order. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Important
I am not talking about not mentioning
devtools
in the cookbookI think it would make sense not to use
devtools::session_info()
in the preaface here, which is the only part with code execution usingdevtools
.cran-cookbook/preface.qmd
Lines 52 to 59 in 48f89f0
If
sessionInfo()
is not nice looking, perhapssessioninfo::session_info()
is a better choice.devtools
is not a good choice for this, because it has too many dependencies (incl.shiny
). In the end, you are just usingsessioninfo::session_info()
exposed bydevtools
.Happy to provide a PR.
Created on 2025-03-17 with reprex v2.1.1
Created on 2025-03-17 with reprex v2.1.1
Beta Was this translation helpful? Give feedback.
All reactions