Error in relativeTo(basepath, dir) rmarkdown libs
- Dominant language
- HTML
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I want to have one libs dir at root, and then my slides saved in subdirectories, but I get this error
```
Error in relativeTo(basepath, dir) :
The path /Users/luna/slides/libs/remark-css does not appear to be a descendant of /Users/luna/slides/papers/
Calls: ... html_dependencies_as_string -> lapply -> FUN -> relativeTo
Execution halted
```
See issue https://github.com/rstudio/rmarkdown/issues/146
And this:
https://stackoverflow.com/questions/24610740/rmarkdown-different-output-folders-shared-libs
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the relativeTo(basepath, dir) error from the Rmd slides and review the linked rmarkdown issue and Stack Overflow discussion. Done means slides in subdirectories can use a root-level libs directory without the descendant-path error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100