posit-dev / publisher

MIT License
3 stars 0 forks source link

Detect when R Markdown content is run #1730

Closed mmarchetti closed 2 months ago

mmarchetti commented 2 months ago

Intent

In #1723, when deploying Rmd content, log lines from the execution of the Rmd are lumped into the new Restore R Environment log phase. They should be under Run Content.

This PR adds detection for the log line that indicates the start of Rmd execution.

Part of #1660

Type of Change

Directions for Reviewers

Deploy Rmd content. Verify that the knitr execution logs are under the Run Content heading, and not the Restore R Environment heading.