2015-01-29 4 views
1

heroku에서 R에 Boom 패키지를 설치하려고합니다. 이 R buildpack을 사용하여 R 패키지를 배포합니다. 시간 초과 오류가 발생하여 꽤 오래 걸릴 경우 빌드가 실패합니다.Heroku에서 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 

여기에서 어떤 옵션을 사용할지 모르겠습니다. 제발 제안 해주세요.

답변

0

heroku apt buildpack을 사용하고 나서 deb of R packages을 사용하여 작동하게 만들 수있었습니다. 매력처럼 작동합니다. 또 다른주의 사항은 기본 R 설치 위치와 다른 apt에서 라이브러리 설치 경로를 추가해야 할 수도 있다는 것입니다.

관련 문제