在 Heroku 上安装 R 包时遇到问题
Trouble installing R package on Heroku
我正在尝试安装包 Boom for R on heroku. I am using this 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 and then use deb of R packages 使其工作。奇迹般有效。另一件需要注意的事情是,您可能需要从 apt 添加库安装路径,这与默认的 R 安装位置不同。
我正在尝试安装包 Boom for R on heroku. I am using this 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 and then use deb of R packages 使其工作。奇迹般有效。另一件需要注意的事情是,您可能需要从 apt 添加库安装路径,这与默认的 R 安装位置不同。