R Under development (unstable) (2025-01-07 r87537 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(psHarmonize) psHarmonize ver. 0.3.3 psHarmonize evaluates and runs code entered in the harmonization sheet. Make sure to only use harmonization sheets from authors you trust. > > test_check("psHarmonize") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Currently on item: age; cohort: Cohort A; visit 1 / 1. Currently on item: age; cohort: Cohort B; visit 1 / 1. Currently on item: age; cohort: Cohort C; visit 1 / 1. Currently on item: height; cohort: Cohort A; visit 1 / 3. Currently on item: height; cohort: Cohort A; visit 2 / 3. Currently on item: height; cohort: Cohort A; visit 3 / 3. Currently on item: height; cohort: Cohort B; visit 1 / 1. Currently on item: height; cohort: Cohort C; visit 1 / 1. Currently on item: weight; cohort: Cohort A; visit 1 / 3. Currently on item: weight; cohort: Cohort A; visit 2 / 3. Currently on item: weight; cohort: Cohort A; visit 3 / 3. Currently on item: weight; cohort: Cohort B; visit 1 / 1. Currently on item: weight; cohort: Cohort C; visit 1 / 1. Currently on item: education; cohort: Cohort A; visit 1 / 1. Currently on item: education; cohort: Cohort B; visit 1 / 1. Currently on item: education; cohort: Cohort C; visit 1 / 1. Currently on item: weight_mod; cohort: Cohort A; visit 1 / 1. [1] "Finished!" # Harmonization status ---------------------------- ## Successfully harmonized ------------------------ Number of rows in harmonization sheet successfully harmonized: 17 / 17 ## NOT successfully harmonized -------------------- Number of rows in harmonization sheet NOT successfully harmonized: 0 / 17 # Values outside of range ------------------------- ## Numeric variables ------------------------------ Number of numeric rows with values set to NA: 0 / 0 ## Categorical variables -------------------------- Number of categorical rows with values set to NA: 0 / 0 Currently on item: age; cohort: Cohort A; visit 1 / 1. Currently on item: age; cohort: Cohort B; visit 1 / 1. Currently on item: age; cohort: Cohort C; visit 1 / 1. Currently on item: height; cohort: Cohort A; visit 1 / 3. Currently on item: height; cohort: Cohort A; visit 2 / 3. Currently on item: height; cohort: Cohort A; visit 3 / 3. Currently on item: height; cohort: Cohort B; visit 1 / 1. Currently on item: height; cohort: Cohort C; visit 1 / 1. Currently on item: weight; cohort: Cohort A; visit 1 / 3. Currently on item: weight; cohort: Cohort A; visit 2 / 3. Currently on item: weight; cohort: Cohort A; visit 3 / 3. Currently on item: weight; cohort: Cohort B; visit 1 / 1. Currently on item: weight; cohort: Cohort C; visit 1 / 1. Currently on item: education; cohort: Cohort A; visit 1 / 1. Currently on item: education; cohort: Cohort B; visit 1 / 1. Currently on item: education; cohort: Cohort C; visit 1 / 1. Currently on item: bmi; cohort: Cohort A; visit 1 / 1. [1] "Finished!" # Harmonization status ---------------------------- ## Successfully harmonized ------------------------ Number of rows in harmonization sheet successfully harmonized: 17 / 17 ## NOT successfully harmonized -------------------- Number of rows in harmonization sheet NOT successfully harmonized: 0 / 17 # Values outside of range ------------------------- ## Numeric variables ------------------------------ Number of numeric rows with values set to NA: 0 / 0 ## Categorical variables -------------------------- Number of categorical rows with values set to NA: 0 / 0 [ FAIL 0 | WARN 53 | SKIP 0 | PASS 15 ] [ FAIL 0 | WARN 53 | SKIP 0 | PASS 15 ] > > proc.time() user system elapsed 4.90 0.20 5.09