[英]Trouble installing R package on Heroku
我正在尝试在heroku上安装Boom for R软件包。 我正在使用此R buildpack部署R软件包。 我遇到超时错误,在卡了很长时间后构建失败
* installing *source* package 'Boom' ...
** package 'Boom' successfully unpacked and MD5 sums checked
** libs
Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_2.cpp: In function 'void BOOM::fill_poisson_mixture_approximation_table_2(BOOM::NormalMixtureApproximationTable*)':
Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_2.cpp:7:8: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
void fill_poisson_mixture_approximation_table_2(
^
Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_3.cpp: In function 'void BOOM::fill_poisson_mixture_approximation_table_3(BOOM::NormalMixtureApproximationTable*)':
Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_3.cpp:7:8: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
void fill_poisson_mixture_approximation_table_3(
^
! Timed out compiling Multipack app (15 minutes)
! See https://devcenter.heroku.com/articles/slug-compiler#time-limit
不知道我从这里有什么选择。 请提出建议。
我能够通过使用heroku apt buildpack使其工作,然后使用deb of R软件包 。 奇迹般有效。 需要注意的另一件事是,您可能需要从apt添加库安装路径,该路径与默认的R安装位置不同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.