【发布时间】:2019-04-20 17:25:09
【问题描述】:
我在部署需要 RQuantLib 包的闪亮应用程序时遇到问题。当我运行我的应用程序时,一切正常,即使是需要 RQuantLib 包的部分。但是,在部署应用程序时,该过程在构建包 RQuantLib 时停止。
当我将“library(RQuantLib)”行放入 cmets 时,可以部署应用程序,但由于使用此包,我显然遗漏了我的部分。
这是错误:
[2018-11-17T22:26:33.546919933+0000] Building R package: RQuantLib (0.4.5)
/mnt/packages/build /mnt
* installing to library ‘/opt/R/3.5.0/lib/R/library’
* installing *source* package ‘RQuantLib’ ...
** package ‘RQuantLib’ successfully unpacked and MD5 sums checked
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for R... yes
checking for quantlib-config... yes
configure: WARNING: RQuantLib requires QuantLib (>= 1.8.0).
configure: error: Please upgrade to a current version.
ERROR: configuration failed for package ‘RQuantLib’
* removing
‘/opt/R/3.5.0/lib/R/library/RQuantLib’################################# End
Task Log #################################
Erreur : Unhandled Exception: Child Task 565972976 failed: Error building
image: Error building RQuantLib (0.4.5). Build exited with non-zero status:
1
De plus : Warning message:
Error detecting locale: Error in read.table(file = file, header = header,
sep = sep, quote = quote, : incomplete final line found by readTableHeader
on 'raw'
(Using default: en_US)
提前谢谢你!
【问题讨论】: