英文:
Cannot publish an RMarkdown HTML due to MASS package related problem
问题
我使用RMarkdown生成了一个HTML文件,然后连接到Posit云。然而,在单击“发布”按钮并选择在Posit Cloud上发布文档的选项后,我收到以下错误:
>错误=无法构建图像(image_id=:任务图像构建失败,任务=,状态=失败,错误=构建图像时出错:获取MASS(7.3-58.4)源失败。<CRANPackageSource repo='http://cran.rstudio.org'>无法满足包要求:MASS(7.3-58.4)
有什么想法吗?
我尝试注释与表格和图形相关的所有代码,以查看是否与此有关(因为错误的一部分指示无法构建图像),但没有成功。
英文:
I generated an HTML file with RMarkdown. Then, I connected to Posit cloud. However, after clicking the button "Publish" and selecting the option of publishing the document on Posit Cloud, I get the following error:
>error=could not build image (image_id=: task image-build failed, task=, status=failed, error=error building image:
Error fetching MASS (7.3-58.4) source. <CRANPackageSource repo='http://cran.rstudio.org'> unable to satisfy package: MASS (7.3-58.4)
Any ideas?
I tried commenting all the code related to tables and graphs to see if it has something to do with that (given that part of the error indicates incapacity to build an image) but it did not work.
答案1
得分: 0
我今早遇到了同样的错误,但我试图“发布”我的Shiny应用,其中还包含了R Markdown文档。我手动更新了MASS包,并解决了这个问题,尽管速度比平常慢得多。
英文:
I had the same error this morning, but I was trying to "publish" my shiny app that also contained R markdown documents.
I updated manually the MASS package and I solved the problem, despite being much slower than usual.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论