Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ShinyApps
briskaRShinyApp
Commits
3fa99c39
Commit
3fa99c39
authored
Sep 03, 2020
by
Virgile Baudrot
Browse files
add plotly and test ggplotlyfying on landscape
parent
aeb75284
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
3fa99c39
Package: briskaRshinyApp
Title: Shiny app for briskaR
Version: 0.0.0.9000
Authors@R: person('Virgile', 'Baudrot', email = 'virgile.baudrot@posteo.net', role = c('cre', 'aut'))
Description: Shiny app for briskaR.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Imports:
shiny,
golem,
config,
briskaR,
sf,
leaflet,
htmltools,
shinydashboard,
ggplot2,
rgdal,
dplyr,
tidyr,
readr,
shinyWidgets,
DT,
shinydashboardPlus
RoxygenNote: 7.1.1
Suggests:
testthat (>= 2.1.0)
Package: briskaRshinyApp
Title: Shiny app for briskaR
Version: 0.0.0.9000
Authors@R: person('Virgile', 'Baudrot', email = 'virgile.baudrot@posteo.net', role = c('cre', 'aut'))
Description: Shiny app for briskaR.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Imports:
shiny,
golem,
config,
briskaR,
sf,
leaflet,
htmltools,
shinydashboard,
ggplot2,
rgdal,
dplyr,
tidyr,
readr,
shinyWidgets,
DT,
shinydashboardPlus,
plotly
RoxygenNote: 7.1.1
Suggests:
testthat (>= 2.1.0)
Dockerfile
View file @
3fa99c39
FROM
rocker/tidyverse:3.6.1
RUN
apt-get update
&&
apt-get
install
-y
\
libfftw3-dev
\
libfftw3-bin
\
libgeos-3.5.1 libgeos-c1v5 libgeos-dev
\
libgdal-dev
\
libudunits2-dev
RUN
R
-e
'install.packages("remotes")'
RUN
R
-e
'remotes::install_github("r-lib/remotes", ref = "97bbf81")'
RUN
R
-e
'remotes::install_cran("shiny")'
RUN
R
-e
'remotes::install_cran("golem")'
RUN
R
-e
'remotes::install_cran("config")'
RUN
R
-e
'remotes::install_cran("deldir")'
RUN
R
-e
'remotes::install_cran("lwgeom")'
RUN
R
-e
'remotes::install_cran("fasterize")'
RUN
R
-e
'remotes::install_cran("fftwtools")'
RUN
R
-e
'remotes::install_cran("mvtnorm")'
RUN
R
-e
'remotes::install_cran("raster")'
RUN
R
-e
'remotes::install_cran("RcppArmadillo")'
RUN
R
-e
'remotes::install_cran("rgeos")'
RUN
R
-e
'remotes::install_cran("sp")'
RUN
R
-e
'remotes::install_cran("sf")'
RUN
R
-e
'remotes::install_cran("leaflet")'
RUN
R
-e
'remotes::install_cran("htmltools")'
RUN
R
-e
'remotes::install_cran("shinydashboard")'
RUN
R
-e
'remotes::install_cran("shinydashboardPlus")'
RUN
R
-e
'remotes::install_cran("ggplot2")'
RUN
R
-e
'remotes::install_cran("rgdal")'
RUN
R
-e
'remotes::install_cran("dplyr")'
RUN
R
-e
'remotes::install_cran("tidyr")'
RUN
R
-e
'remotes::install_cran("readr")'
# RUN R -e 'remotes::install_cran("briskaR")'
RUN
git clone
--single-branch
--branch
develop https://gitlab.paca.inra.fr/biosp/briskaR.git briskaR
\
&&
cd
briskaR
\
&&
R CMD build
--no-build-vignettes
--no-manual
briskaR
\
&&
R CMD INSTALL
$(
ls
briskaR_
*
.tar.gz
)
\
&&
cd
..
\
&&
rm
-r
briskaR
COPY
briskaRshinyApp_*.tar.gz /app.tar.gz
RUN
R
-e
'remotes::install_local("/app.tar.gz")'
RUN
apt-get autoremove
-y
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
EXPOSE
3838
CMD
["R", "-e", "options('shiny.port'=3838,shiny.host='0.0.0.0'); briskaRshinyApp::run_app()"]
FROM
rocker/tidyverse:3.6.1
RUN
apt-get update
&&
apt-get
install
-y
\
libfftw3-dev \
libfftw3-bin \
libgeos-3.5.1 libgeos-c1v5 libgeos-dev \
libgdal-dev \
libudunits2-dev
RUN
R
-e
'install.packages("remotes")'
RUN
R
-e
'remotes::install_github("r-lib/remotes", ref = "97bbf81")'
RUN
R
-e
'remotes::install_cran("shiny")'
RUN
R
-e
'remotes::install_cran("golem")'
RUN
R
-e
'remotes::install_cran("config")'
RUN
R
-e
'remotes::install_cran("deldir")'
RUN
R
-e
'remotes::install_cran("lwgeom")'
RUN
R
-e
'remotes::install_cran("fasterize")'
RUN
R
-e
'remotes::install_cran("fftwtools")'
RUN
R
-e
'remotes::install_cran("mvtnorm")'
RUN
R
-e
'remotes::install_cran("raster")'
RUN
R
-e
'remotes::install_cran("RcppArmadillo")'
RUN
R
-e
'remotes::install_cran("rgeos")'
RUN
R
-e
'remotes::install_cran("sp")'
RUN
R
-e
'remotes::install_cran("sf")'
RUN
R
-e
'remotes::install_cran("leaflet")'
RUN
R
-e
'remotes::install_cran("htmltools")'
RUN
R
-e
'remotes::install_cran("shinydashboard")'
RUN
R
-e
'remotes::install_cran("shinydashboardPlus")'
RUN
R
-e
'remotes::install_cran("ggplot2")'
RUN
R
-e
'remotes::install_cran("plotly")'
RUN
R
-e
'remotes::install_cran("rgdal")'
RUN
R
-e
'remotes::install_cran("dplyr")'
RUN
R
-e
'remotes::install_cran("tidyr")'
RUN
R
-e
'remotes::install_cran("readr")'
# RUN R -e 'remotes::install_cran("briskaR")'
RUN
git clone
--single-branch
--branch
develop https://gitlab.paca.inra.fr/biosp/briskaR.git briskaR
\
&& cd briskaR \
&& R CMD build --no-build-vignettes --no-manual briskaR \
&& R CMD INSTALL $(ls briskaR_*.tar.gz) \
&& cd .. \
&& rm -r briskaR
COPY
briskaRshinyApp_*.tar.gz /app.tar.gz
RUN
R
-e
'remotes::install_local("/app.tar.gz")'
RUN
apt-get autoremove
-y
\
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
EXPOSE
3838
CMD
["R", "-e", "options('shiny.port'=3838,shiny.host='0.0.0.0'); briskaRshinyApp::run_app()"]
R/mod_tabItemLandscape.R
View file @
3fa99c39
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment