We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb914b commit bde91bfCopy full SHA for bde91bf
examples/data.table/Dockerfile
@@ -1,4 +1,11 @@
1
2
-FROM rhub/r-minimal
+FROM ghcr.io/r-hub/r-minimal/r-minimal
3
4
-RUN installr -d -t zlib-dev data.table
+RUN echo -e 'PKG_CFLAGS+=-fopenmp\nPKG_LIBS+=-fopenmp\n' >> /tmp/Makevars && \
5
+ R_MAKEVARS_USER=/tmp/Makevars \
6
+ installr -a "libgomp zlib" -t "openmp-dev zlib-dev" -d data.table && \
7
+ rm /tmp/Makevars
8
+
9
+RUN R -q -e 'data.table::getDTthreads()'
10
11
+RUN ldd /usr/local/lib/R/library/data.table/libs/data_table.so 2> /dev/null || true
0 commit comments