Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error plotting result for Robyn in Docker #950

Open
nikomataaa opened this issue Apr 4, 2024 · 2 comments
Open

Error plotting result for Robyn in Docker #950

nikomataaa opened this issue Apr 4, 2024 · 2 comments
Assignees

Comments

@nikomataaa
Copy link

Project Robyn

Describe issue

I've been building the Robyn MMM in the Docker, everything went well so far except, the plotting
every plotting output was returning this message

Font 'Arial Narrow' is not installed, has other name, or can't be found

above message resulting no plotting folder
I've never got this problem whenever I run on Rstudio

Thanks!

Provide reproducible example

I've got my Docker as below:

FROM rocker/verse

COPY . /app
WORKDIR /app

USER root

RUN apt-get update && \
    apt-get -y upgrade && \
    apt-get -y install --no-install-recommends \
    make git curl g++ gcc&& \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# INSTALL PYTHON 3
RUN apt-get update && \ 
    apt-get -y install python3 python3-pip python3-venv

# Adding gsutil to the image
# RUN curl -sSL https://sdk.cloud.google.com | bash && \
#     mv /root/google-cloud-sdk /usr/local

ENV PATH=${PATH}:/usr/local/google-cloud-sdk/bin

RUN python3 -m pip install -r python-requirements/requirements.txt --no-cache-dir

# install R packages
RUN Rscript /app/install_robyn.R
RUN Rscript /app/install_nevergrad.R

Environment & Robyn version

Make sure you're using the latest Robyn version before you post an issue.

  • Check and share Robyn version: 3.10.5
  • R version 4.3.3 (2024-02-29)
@gufengzhou
Copy link
Contributor

gufengzhou commented Apr 25, 2024

I'm no expert in this but it sounds like your doc env is missing the font. Does this help?

@gufengzhou gufengzhou self-assigned this Apr 25, 2024
@NumesSanguis
Copy link

NumesSanguis commented May 31, 2024

Probably related to this issue, because 'Arial Narrow' seems to be a Microsoft font: #973

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants