我正在开发的R包的依赖项之一在本地目录中。通过使用devtools / remotes,可以在包DESCRIPTION中包含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`
祝你好运!