[英]Trouble installing R package on Heroku
I am trying to install package Boom for R on heroku. 我正在尝试在heroku上安装Boom for R软件包。 I am using this R buildpack to deploy R packages.
我正在使用此R buildpack部署R软件包。 I am getting a timeout error and build fails after getting stuck for quite long at
我遇到超时错误,在卡了很长时间后构建失败
* 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
Not sure what options do I have from here. 不知道我从这里有什么选择。 Please suggest.
请提出建议。
I was able to make it work by using heroku apt buildpack and then use deb of R packages . 我能够通过使用heroku apt buildpack使其工作,然后使用deb of R软件包 。 Works like a charm.
奇迹般有效。 Another thing to note is that you may need to add the path of library installations from apt which is different from the default R install locations.
需要注意的另一件事是,您可能需要从apt添加库安装路径,该路径与默认的R安装位置不同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.