R: source_gist not working

一个人想着一个人 提交于 2019-12-20 18:28:00

问题


I am trying to use source_gist from the devtools package but I am encountering an error:

> library(devtools)
> source_gist("524eade46135f6348140")
Error in r_files[[which]] : invalid subscript type 'closure'

Thanks for any advice.


回答1:


Agree this is a bug, which I see you've submitted.

A temporary workaround is to specify the filename option:

devtools::source_gist("524eade46135f6348140", filename = "ggplot_smooth_func.R")


来源:https://stackoverflow.com/questions/38345894/r-source-gist-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!