-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
Lorenz Kapsner edited this page Nov 22, 2021
·
4 revisions
In order to use this tool you need a working LaTeX-installation, which is properly connected with R. We highly recommend to install the R-package tinytex
and additionally required packages, as outlined below.
install.packages("tinytex")
tinytex::install_tinytex()
# update
tinytex::tlmgr_conf()
# define required packages
tex_pkg <- c(
"amsfonts",
"amsmath",
"atveryend",
"babel",
"babel-german",
"caption",
"colortbl",
"dehyph-exptl",
"ec",
"environ",
"epstopdf-pkg",
"etoolbox",
"float",
"geometry",
"graphics",
"graphics-def",
"hycolor",
"hyperref",
"hyphen-german",
"iftex",
"koma-script",
"latex-graphics-dev",
"latexconfig",
"lm",
"makecell",
"multirow",
"oberdiek",
"pdfcrop",
"pdflscape",
"tabu",
"tex-gyre-math",
"texlive-scripts",
"threeparttable",
"threeparttablex",
"titling",
"tools",
"trimspaces",
"ulem",
"varwidth",
"wrapfig",
"ulem",
"url",
"xcolor"
)
# install packages
tinytex::tlmgr_install(pkgs = tex_pkg)
tinytex::tlmgr_update()
install.packages("remotes")
remotes::install_github("miracum/dqa-dqastats")
install.packages("remotes")
remotes::install_url(
paste0(
"https://gitlab.miracum.org/miracum/dqa/dqagui/",
"-/archive/master/dqagui-master.zip"
)
)
You can test the package without needing to install anything execpt docker. To try out the package follow these instructions:
-
Make sure you have docker installed
-
Clone this repo
git clone https://gitlab.miracum.org/miracum/dqa/dqastats.git dqastats cd dqastats
-
Run the containerized setup using
docker-compose up
-
Go to
./output/
and see the created report.
If you want to use your own docker-compose and .env file(s) you can do this simply by using them in this command:
docker-compose \
-f docker-compose_miracum.yml \
--env-file ../dqastats.env \
up --build