Extract package description as string
How can I extract the description of a package from the package's DESCRIPTION file? I'm interested in getting the text from the Description: field and being able to use it in renderText() for a Shiny app. renderText() just requires a string, so getting it in a string format is my goal (unless someone knows another way to do it). The reason I'm not just copy-pasting is because I want to update the description in one single place (the DESCRIPTION file) and not have to remember to update the description in multiple locations with every new version.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.