使用RStudio中的bookdown :: publish_book()配置bookdown.org帐户时出错

问题描述 投票:1回答:1

尝试使用时在bookdown.org上发布一本书(第一次)

bookdown::publish_book(render = "none")

我收到以下错误消息:

You do not currently have a bookdown.org publishing account configured on this system.
Would you like to configure one now? [Y/n]: Y
Error in response$token_claim_url : 
  $ operator is invalid for atomic vectors

似乎问题在于

rsconnect::connectUser(server = 'bookdown.org')

它给出了相同的错误消息:

Error in response$token_claim_url : 
  $ operator is invalid for atomic vectors

我曾尝试过自己的书籍项目以及谢毅辉在RStudio“A Minimal Book Example”中的演示书项目。

谁能帮我?

r bookdown rsconnect
1个回答
0
投票

我使用这种方法来解决问题:打开Rstudio

管理帐户 - 连接 - RStudio Connect - 输入:bookdown.org

© www.soinside.com 2019 - 2024. All rights reserved.