cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Data Hub Trial 2.4 R library not found - And how can I find which docker file was used here?

yu_chen_10
Explorer
0 Kudos
161

Hi all,

I have created a docker file, which shoul install some packages. And this file was built successfully.

But as I ran my R-Operator with following codes and tags, I got the error " there is no package 'devtools'. I have already worked with some other docker file and R operator, there I had no problem.

Anyone has an idea?

Thanks, Yu

View Entire Topic
Vitaliy-R
Developer Advocate
Developer Advocate
0 Kudos

Hi Yu. I am not familiar with R, but from what I can see the code is loading 'devtools' during the execution, but this package is not installed during image build. Reading https://devtools.r-lib.org/ I assume you should add

install.packages("devtools")

to the Dockerfile.