{"id":16411771,"url":"https://github.com/ijlyttle/shiny_rmd_issue","last_synced_at":"2026-03-02T17:02:43.183Z","repository":{"id":18780316,"uuid":"21993585","full_name":"ijlyttle/shiny_rmd_issue","owner":"ijlyttle","description":"documenting an issue with rmarkdown and shiny","archived":false,"fork":false,"pushed_at":"2014-07-18T20:35:10.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T11:48:13.024Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ijlyttle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-18T20:31:33.000Z","updated_at":"2014-07-18T20:36:29.000Z","dependencies_parsed_at":"2022-09-17T04:50:44.564Z","dependency_job_id":null,"html_url":"https://github.com/ijlyttle/shiny_rmd_issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fshiny_rmd_issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fshiny_rmd_issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fshiny_rmd_issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fshiny_rmd_issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ijlyttle","download_url":"https://codeload.github.com/ijlyttle/shiny_rmd_issue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240427195,"owners_count":19799466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T06:46:32.194Z","updated_at":"2026-03-02T17:02:38.146Z","avatar_url":"https://github.com/ijlyttle.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"This may be a different look at #139, and it may be better addressed in the shiny repo - please let me know.\n\nHere's my shot at a reproducible example:\n\nConsider a directory with:\n\n* `_output.yaml`\n\n```\nhtml_document:\n  includes:\n    before_body: header.html\n```\n\n* `header.html`\n\n```\n\u003cp\u003eHi, I'm a header!\u003c/p\u003e\n```\n\n* `index.Rmd`\n\n```\n---\ntitle: \"I am a title!\"\n---\n\nI am a body!\n```\n\nIf I `render(\"index.Rmd\")`, I get what I expect.\n\nIf I `run(\"index.Rmd\")`, I get an error:\n\n```\npandoc: header.html: openFile: does not exist (No such file or directory)\nError : pandoc document conversion failed with error 1\n```\n\nI suspect this has to do with shiny running in a temporary directory.\n\n```\nsessionInfo()\n```\n\n```\nR version 3.1.0 (2014-04-10)\nPlatform: x86_64-apple-darwin13.1.0 (64-bit)\n\nlocale:\n[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8\n\nattached base packages:\n[1] stats     graphics  grDevices utils     datasets  methods   base     \n\nother attached packages:\n[1] shiny_0.10.0.9003 rmarkdown_0.2.50  devtools_1.5     \n\nloaded via a namespace (and not attached):\n [1] bitops_1.0-6    caTools_1.17    digest_0.6.4    evaluate_0.5.5  formatR_0.10    htmltools_0.2.4 httpuv_1.3.0    httr_0.3       \n [9] knitr_1.6.3     memoise_0.2.1   parallel_3.1.0  Rcpp_0.11.2     RCurl_1.95-4.1  RJSONIO_1.2-0.2 stringr_0.6.2   tools_3.1.0    \n[17] whisker_0.3-2   xtable_1.7-3    yaml_2.1.11 \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlyttle%2Fshiny_rmd_issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijlyttle%2Fshiny_rmd_issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlyttle%2Fshiny_rmd_issue/lists"}