From 3b148f11926a598ebd0eb54a2ba9d3b5c329781e Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Thu, 3 Jun 2021 04:03:56 +0200 Subject: [PATCH] r-lmertest: add new package (#24000) --- .../builtin/packages/r-lmertest/package.py | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-lmertest/package.py diff --git a/var/spack/repos/builtin/packages/r-lmertest/package.py b/var/spack/repos/builtin/packages/r-lmertest/package.py new file mode 100644 index 0000000000..ea07fdbf59 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-lmertest/package.py @@ -0,0 +1,29 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class RLmertest(RPackage): + """Tests in Linear Mixed Effects Models + + Provides p-values in type I, II or III anova and summary tables for lmer + model fits (cf. lme4) via Satterthwaite's degrees of freedom method. A + Kenward-Roger method is also available via the pbkrtest package. Model + selection methods include step, drop1 and anova-like tables for random + effects (ranova). Methods for Least-Square means (LS-means) and tests of + linear contrasts of fixed effects are also available. + """ + + homepage = "https://github.com/runehaubo/lmerTestR" + cran = "lmerTest" + + version('3.1-3', sha256='35aa75e9f5f2871398ff56a482b013e6828135ef04916ced7d1d7e35257ea8fd') + + depends_on('r@3.2.5:', type=('build', 'run')) + depends_on('r-lme4@1.1-10:', type=('build', 'run')) + depends_on('r-numderiv', type=('build', 'run')) + depends_on('r-mass', type=('build', 'run')) + depends_on('r-ggplot2', type=('build', 'run'))