anchor.diff:          nomkl && \
       conda clean --all
   
  -# Ensure parallel compilation of each individual package
  -RUN printf "\nMAKEFLAGS=-j8\n" >> $CONDA_PREFIX/lib/R/etc/Makeconf
  +# Ensure parallel compilation of of C/C++ code
  +RUN echo "MAKEFLAGS=-j$(R --slave -e 'cat(parallel::detectCores())')" >> $CONDA_PREFIX/lib/R/etc/Makeconf
   
   ENV ARROW_BUILD_STATIC=OFF \
       ARROW_BUILD_TESTS=OFF \
  
positive.code:     ARROW_DEPENDENCY_SOURCE=SYSTEM \
      ARROW_FLIGHT=OFF \
      ARROW_GANDIVA=OFF \
      ARROW_ORC=OFF \
      ARROW_PARQUET=ON \
      ARROW_PLASMA=OFF \
      ARROW_USE_GLOG=OFF \
      ARROW_NO_DEPRECATED_API=ON \
      ARROW_R_DEV=TRUE
  
negative.code: ARG arch
  FROM ${repo}:${arch}-conda-cpp
  
  # Need locales so we can set UTF-8
  RUN apt-get update -y && \
      apt-get install -y locales && \
      locale-gen en_US.UTF-8 && \
      apt-get clean && \
      rm -rf /var/lib/apt/lists/*
  
  # install R specific packages
  ARG r=3.6.1
  COPY ci/conda_env_r.yml /arrow/ci/
  