r - R闪亮的应用程序:无法标准化`addResourcePath`中的路径
问题描述
当我尝试运行我的 .Rmd 文档时,出现错误:
创建的输出:/tmp/RtmpIJCtdZ/file443d7655998c.html 警告:值错误[[3L]]:无法规范化路径addResourcePath
,带参数:prefix
='mathjax-local';directoryPath
='/usr/lib/rstudio-server/resources/mathjax-26' 122:停止 121:值 [[3L]] 120:tryCatchOne 119:tryCatchList 118:tryCatch 117:shiny::addResourcePath 116:shinyHTML_with_deps 115:99: doc 98: shiny::renderUI 97: func 84: origRenderFunc 83: output$ reactivedoc
3: 1: rmarkdown::run
我已尝试更新所有软件包并运行,但仍然无法正常工作。
解决方案
使用它在使用 renv() 创建的环境是解决方案。看起来问题出在更新的软件包上。
推荐阅读
- javascript - 使用 JavaScript 更改可见性时如何使用过渡/动画?
- python - 在 VS Code Insiders for Python Native Notebook 中哪里可以找到数据查看器/变量资源管理器?
- reactjs - 反应 CRA 代理问题
- c# - 将自定义类型作为命令参数传递
- postgis - 完整的新手问题:我想通过命令提示符删除一个表(postgis)
- reactjs - 如何在反应 js 中模拟嵌套组件导入并使用反应测试库进行测试
- winforms - 配置等待,用户界面,等待异步
- python - 使用 zip 函数有什么好处 df['full_name']=zip(df['name'],df['last name'])
- javascript - 如何设置我可以在库存中拥有的物品数量限制?
- git - Azure Devops:结帐步骤缓慢:到许多对象?