![](/img/trans.png)
[英]How to include subdirectory in `Remotes` field for R package `DESCRIPTION`
[英]How to include a local repository that contains spaces in the Remotes field of an R package DESCRIPTION?
我正在開發的 R 包的依賴項之一是在本地目錄中。 使用 devtools/remotes 我可以通過在包描述中包含Remotes: local::/path/to/the_repository
來指定這種依賴關系。
但是,我需要訪問的路徑包含空格,我無法弄清楚如何正確指定它。
到目前為止,我已經嘗試引用( local::"~/path/to/the repository"
)和轉義( local::~/path/to/the\\ repository
),但我仍然得到
Error: Missing commas separating Remotes
有什么建議嗎?
我不知道如何解決這個問題。 也許反引號會起作用?
local::`~/path/to/the repository`
祝你好運!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.