R:source_gist不起作用 [英] R: source_gist not working
本文介绍了R:source_gist不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 devtools
包中的 source_gist
,但是遇到错误:
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'
谢谢您的建议。
推荐答案
同意这是一个错误,我发现您已经已提交。
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")
这篇关于R:source_gist不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文