Skip to content

Commit

Permalink
Fixing small errors in order to get devtools::build() running through
Browse files Browse the repository at this point in the history
  • Loading branch information
sjentsch committed Jan 9, 2024
1 parent 8890d05 commit 1fde824
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-jtwide2long.R
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ testthat::test_that("jtwide2long works", {
"variable lists under \"Index Variables (Can Be Nested)\". If you\n",
"multiply the number of levels (\"N levels\") the result needs to be\n",
"equal to the length of the variable lists under \"Variables To Be\n",
"transformed\". The first index variable is successive (1, 2, 3, ),\n",
"transformed\". The first index variable is successive (1, 2, 3, ...),\n",
"higher index variables go to the next step once all levels on the\n",
"lower index variables went through a complete sequence (e.g., 1-1,\n",
"2-1, 3-1, 1-2, 2-2, 3-2, ). You can use the second output table to\n",
"2-1, 3-1, 1-2, 2-2, 3-2, ...). You can use the second output table to\n",
"check whether the levels of the index variables were assigned\n",
"correctly. If there exists (one or more) variables that identify a\n",
"participant (or another measurement unit; e.g., a number or an ID) it\n",
Expand Down Expand Up @@ -307,7 +307,7 @@ testthat::test_that("jtwide2long works", {
"lower index variables have to have been through a complete round,\n",
"before going up a step on this variable. In the example data set,\n",
"rspCrr_cong_GREEN_1 is followed by rspCrr_incong_GREEN_1 and\n",
"rspCrr_neutral_GREEN_1 (don't focus on the rspTme_ variables in\n",
"rspCrr_neutral_GREEN_1 (don't focus on the rspTme_... variables in\n",
"between). Therefore, cond is the first index variable with three steps\n",
"(cong, incong, neutral), and you should change \"index1\" to \"cond\" and\n",
"\"0\" to \"3\". The next level is the colour (rspCrr_neutral_GREEN_1 is\n",
Expand Down

0 comments on commit 1fde824

Please sign in to comment.