Skip to content

Can build_readme show link to .md file in the console? #2656

@dmuenz

Description

@dmuenz

When using build_readme() to turn README.Rmd into README.md, the status message printed to the console links only to the Rmd file:

> devtools::build_readme()
ℹ Installing mypackage in temporary library
ℹ Building /path/to/mypackage/README.Rmd

But between the two files (Rmd and md), I think the user more likely already has the Rmd file open for editing. Could the console message also link to the md file to make it easier to open and preview? Something like...

ℹ Building /path/to/mypackage/README.Rmd into /path/to/mypackage/README.md

Or the other way around, which makes a little more sense to me:

ℹ Building /path/to/mypackage/README.md from /path/to/mypackage/README.Rmd

This all might apply to build_rmd() as well, but I haven't used that function yet.

Thanks for your consideration, and more importantly thanks for the amazing package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions