From 43d90e41d4b625fb1248fa683afe20e6c4c69b0e Mon Sep 17 00:00:00 2001 From: Stuart Wheater Date: Fri, 31 Oct 2025 14:42:00 +0000 Subject: [PATCH] Changes required for dsBaseClient to be submitted to CRAN --- DESCRIPTION | 4 ---- R/ds.asFactor.R | 2 +- man/ds.asFactor.Rd | 2 +- tests/testthat.R | 3 ++- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index f87cb256d..f2d7fb091 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -36,10 +36,6 @@ Authors@R: c(person(given = "Paul", family = "Avraam", role = c("aut"), comment = c(ORCID = "0000-0001-8908-2441")), - person(given = "Demetris", - family = "Avraam", - role = c("aut"), - comment = c(ORCID = "0000-0001-8908-2441")), person(given = "Yannick", family = "Marcon", role = c("aut"), diff --git a/R/ds.asFactor.R b/R/ds.asFactor.R index 476f00f85..8e5fbd090 100644 --- a/R/ds.asFactor.R +++ b/R/ds.asFactor.R @@ -48,7 +48,7 @@ #' \code{baseline.level = 1} and \code{forced.factor.levels = c(1,2,3,4,5)}. #' The input vector is converted to the following matrix of dummy variables: #' -#' \tabular{rrrrr}{ +#' \tabular{rrrr}{ #' \strong{DV2} \tab \strong{DV3} \tab \strong{DV4} \tab \strong{DV5} \cr #' 0 \tab 0 \tab 0 \tab 0\cr #' 1 \tab 0 \tab 0 \tab 0\cr diff --git a/man/ds.asFactor.Rd b/man/ds.asFactor.Rd index c412df383..24125632b 100644 --- a/man/ds.asFactor.Rd +++ b/man/ds.asFactor.Rd @@ -95,7 +95,7 @@ If we set the argument \code{fixed.dummy.vars = TRUE}, \code{baseline.level = 1} and \code{forced.factor.levels = c(1,2,3,4,5)}. The input vector is converted to the following matrix of dummy variables: -\tabular{rrrrr}{ +\tabular{rrrr}{ \strong{DV2} \tab \strong{DV3} \tab \strong{DV4} \tab \strong{DV5} \cr 0 \tab 0 \tab 0 \tab 0\cr 1 \tab 0 \tab 0 \tab 0\cr diff --git a/tests/testthat.R b/tests/testthat.R index 3e6bbe151..389ee66c5 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -9,4 +9,5 @@ library(testthat) library(dsBaseClient) -test_check("dsBaseClient") +if (identical(Sys.getenv("NOT_CRAN"), "true")) + test_check("dsBaseClient")