Installation

Stable version from CRAN

To install dataquieR from CRAN use the following commands:

if (!requireNamespace("dataquieR")) {
  install.packages("dataquieR")
}

CRAN-Version CRAN-Downloads

Development version

If you prefer to install the development version, you can get it from gitlab.com using the following commands:

if (!requireNamespace("dataquieR")) {
  if (!requireNamespace("remotes")) {
    install.packages("remotes")
  }
  remotes::install_git("https://gitlab.com/libreumg/dataquieR.git")
}  

Alternatively, you can set the nexus repository: https://packages.qihs.uni-greifswald.de/repository/ship-snapshot-r/ as an additional package repository. In RStudio, secondary repositories can be added from the menu using Tools > Global Options > Packages > Add, and then adding a named repository entry in the Add Secondary Repository popup as follows:

When you press OK, RStudio will validate that the URL hosts a valid CRAN-like repository. Afterwards, it will return to the previous Packages tab within the Global Options:

If you use multiple secondary repositories, note that their order is important, as this will determine their priority for searching packages. The order of the repositories can be changed by moving them up or down their priority.

In base R, this can be achieved with:

local({
  r <- list(
    CRAN = "https://cran.rstudio.com/",
    QIHS = "https://packages.qihs.uni-greifswald.de//repository/ship-snapshot-r/"
  )
  options(repos = r)
})

You may copy the whole command to the clipboard using the small blue icon in the upper right corner of the code box.

Docker / ShinyProxy

Please refer to our docker group, if you want to run dataquieR in Docker or ShinyProxy.

Bugs

Bug reports may be filed to the GitLab project site under Tickets. Alternatively, you may send an email to , so that you don’t have to create a GitLab account.

Please be precise about your environment (used operating system, R-version, devtools::session_info()), thank you.

Dependencies

dataquieR will install the following packages, if they are not already available: dplyr (≥ 1.0.2), emmeans, ggplot2 (≥ 3.4.0), lme4, lubridate, MASS, MultinomialCI, parallelMap, patchwork, R.devices, reshape, rlang, robustbase, qmrparser, utils, rio, scales.

The following packages are also suggested: lifecycle, cli, whoami, anytime, cowplot (≥ 0.9.4), digest, DT (≥ 0.23), flexdashboard, flexsiteboard, htmltools, knitr, markdown, parallel, parallelly, rJava, rmarkdown, rstudioapi, testthat (≥ 3.1.9), tibble, vdiffr, pkgload, Rdpack, callr, colorspace, withr, plotly, ggvenn, htmlwidgets, future, processx, R6, shiny, summarytools.

See dataquieR’s CRAN website for more information.