KWB-R / fhpredict

R Package for the Project Flusshygiene
https://kwb-r.github.io/fhpredict
MIT License
2 stars 0 forks source link

Error when calling `build_model` for spot_id 41 user_id 9 #58

Closed ff6347 closed 4 years ago

ff6347 commented 4 years ago

@hsonne

The modeling process seems to work but I get the following message back

Error in loadNamespace(name) : there is no package called 'svglite' 
hsonne commented 4 years ago

@fabianmoronzirfas I found out that svglite is required by the opencpu package since its version 2.1.6 https://github.com/opencpu/opencpu/commit/d460d31100f98be1cc94aaf682ee75d383d324ff#diff-35ba4a2677442e210c23a00a5601aba3 Which version do we use?

ff6347 commented 4 years ago

We use 2.1.5 https://github.com/technologiestiftung/flusshygiene/blob/master/packages/opencpu-base/Dockerfile#L1

hsonne commented 4 years ago

Without further investigation, we should just add "svglite" to the list of packages to be installed in https://github.com/technologiestiftung/flusshygiene/blob/225a6fbac4542fca8240125da4d00ad780704742/packages/opencpu-base/Dockerfile#L26