Skip to content

Commit e741959

Browse files
committed
Add ragg sysdeps to docker and fix check NOTE
1 parent 832a123 commit e741959

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

R/ggplotly.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,10 @@ gg2list <- function(p, width = NULL, height = NULL,
11321132
}
11331133

11341134

1135+
# Due to the non-standard use of assign() in g2list() (above)
1136+
utils::globalVariables(c("groupDomains", "layers", "prestats_data", "scales", "sets"))
1137+
1138+
11351139
#-----------------------------------------------------------------------------
11361140
# ggplotly 'utility' functions
11371141
#-----------------------------------------------------------------------------

inst/docker/Dockerfile.vtest

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,16 @@ RUN R -e "update.packages(ask = F); invisible(lapply(list('devtools', 'roxygen2'
5252
RUN add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes \
5353
&& apt-get -y update \
5454
&& apt-get install -y libudunits2-dev libproj-dev libgeos-dev libgdal-dev
55+
56+
# ragg dependencies
57+
RUN apt-get install -y libharfbuzz-dev libfribidi-dev
5558

5659
# Install all plotly's dependencies
5760
RUN R -e "install.packages('plotly', dependencies = T)"
5861

5962
# system dependencies related to running orca
60-
RUN apt-get install -y \
61-
libgtk2.0-0 \
62-
libgconf-2-4 \
63-
xvfb \
64-
xauth \
65-
libxtst6 \
66-
libxss1 \
67-
libnss3 \
68-
libasound2 \
69-
desktop-file-utils
63+
RUN apt-get -y update \
64+
&& apt-get install -y libgtk2.0-0 libgconf-2-4 xvfb xauth libxtst6 libxss1 libnss3 libasound2 desktop-file-utils
7065

7166
# google chrome
7267
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \

0 commit comments

Comments
 (0)