我正在尝试从Github安装dcStockR
包,这是htmlwidgets
维可视化库周围的dc.js
包装器:devtools::install_github("yutannihilation/dcStockR")
。
我收到以下编码错误:
* installing *source* package 'dcStockR' ...
** R
Error in parse(outFile) :
C:/Users/tirthankarc/AppData/Local/Temp/Rtmpcz8pHX/devtools153839438c/yutannihilation-dcStockR-c6091c8/R/dc.R:11:59: unexpected input
10: #' @export
11: dc <- function(data, chartRecipe = c("yearlyBubbleChart",ã€
^
ERROR: unable to collate and parse R files for package 'dcStockR'
* removing 'C:/Users/tirthankarc/Documents/R/R-3.2.5/library/dcStockR'
Error: Command failed (1)
可以在此处查看相关文件的违规行:https://github.com/yutannihilation/dcStockR/blob/master/R/dc.R#L11。
两个问题:
install.packages
来解决此问题?如果没有,还有哪些其他选项可以解决此问题?