Skip to content

Suggestion for including an image in the analysis document #159

@JiaxiangBU

Description

@JiaxiangBU

Before posting your issue, please search the existing issues (both "open" and "closed") to check that a similar feature has not already been requested.

I read some created issues

  1. the issues How to include images not generated by R code in the final website? #103 and Folder for external figures #37 (comment)
  2. the discussion in the issue Images do not display when hosting on Shiny Server #119
  3. the tips under 3f6f104

The @jdblischak advice helps the users create docs/assets and see the external images in the HTML document by knitting the analysis document or the function wflow_build.

But since the image document is under the docs/assets , the users cannot preview this image under the analysis document. Also, the relative path of this image is not under docs/assets .
The users cannot use tab to quickly get the image path.

  1. Describe the suggested feature.

Just use the absolute path? the image is stored in a public repo.

  1. Describe why you think this feature is needed.

If the image is stored in a public path, the users just copy the absolute path and they can

  1. preview it in the analysis document
  2. see it in the HTML document after knitted.
  1. Tell us the version of workflowr you are using. Run packageVersion("workflowr") in R or RStudio, and copy & paste the output here.
> packageVersion("workflowr")
[1] ‘1.2.0’

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