简体   繁体   English

gtrendsR 错误:widget$status_code == 200 不是 TRUE

[英]gtrendsR Error: widget$status_code == 200 is not TRUE

I work with the most recent version of devtools::install_github('PMassicotte/gtrendsR')我使用最新版本的 devtools::install_github('PMassicotte/gtrendsR')

Until yesterday evening all was well.直到昨天晚上,一切都很好。 Then I got this error message:然后我收到此错误消息:

Error: widget$status_code == 200 is not TRUE

code:代码:

trend1 = gtrends("google", geo = c(""), time = "2014-07-28 2015-11-23")

result:结果:

> trend1 = gtrends("google", geo = c(""), time = "2014-07-28 2015-11-23")
Error: widget$status_code == 200 is not TRUE

Does anyone know what happend of how to fix?有谁知道如何修复发生了什么?

I came up with the same problem and finally found a solution as well as your question.我想出了同样的问题,最后找到了解决方案以及您的问题。 just in case it can still be of help.以防万一它仍然有帮助。 you should install the devtools version:您应该安装 devtools 版本:

devtools::install_github("PMassicotte/gtrendsR")

in case you do not have curl package installed you should do it manually before installing gtrendsR如果你没有安装curl包,你应该在安装gtrendsR之前手动安装

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM