From a32932a6836966906640674fc0443d4c9ad81885 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Wed, 20 Dec 2023 14:47:57 +0100 Subject: [PATCH] minor edits after submiddion attempt --- CRAN-SUBMISSION | 3 + README.md | 8 ++- cran-comments.md | 122 ++-------------------------------- inst/WORDLIST | 2 +- test-data/test_splitr/debug.r | 4 +- 5 files changed, 18 insertions(+), 121 deletions(-) create mode 100644 CRAN-SUBMISSION diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION new file mode 100644 index 0000000..1610f76 --- /dev/null +++ b/CRAN-SUBMISSION @@ -0,0 +1,3 @@ +Version: 23.12.1 +Date: 2023-12-20 11:25:34 UTC +SHA: 620612f341f34cf92a1c24e2118a635b75273880 diff --git a/README.md b/README.md index 0626424..27a3bcb 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](h REDCap Castellated data handling when using repeated instruments. -This package is a fork of [SpectrumHealthResearch/REDCapRITS](https://github.com/SpectrumHealthResearch/REDCapRITS). The REDCapRITS represents great and extensive work to handle castellated REDCap data in different programming languages. This fork is purely minded on R usage and includes a few implementations of the main `REDCap_split` function. +This package is a fork of [pegeler/REDCapRITS](https://github.com/pegeler/REDCapRITS). The REDCapRITS represents great and extensive work to handle castellated REDCap data in different programming languages. This fork is purely minded on R usage and includes a few implementations of the main `REDCap_split` function. The main goal for this project was to allow for a "minimal data" approach by allowing to filter records, instruments and variables in the export to only download data needed. I think this approach is desireable for handling sensitive, clinical data. No similar functionality is available from similar tools (like `REDCapR` or `REDCapTidieR`). Please refer to [REDCap-Tools](https://redcap-tools.github.io/) for other great tools. @@ -36,6 +36,12 @@ The plan with this package is to be bundled with a Handbook on working with REDC ## Installation +The package is available on CRAN. Install the latest version: + +``` +install.packages("REDCapCAST") +``` + Install the latest version directly from GitHub: ``` diff --git a/cran-comments.md b/cran-comments.md index 6be04df..6a1a77f 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,121 +1,9 @@ -For a CRAN submission we recommend that you fix all NOTEs, WARNINGs and ERRORs. -## Test environments -- R-hub windows-x86_64-devel (r-devel) -- R-hub ubuntu-gcc-release (r-release) -- R-hub fedora-clang-devel (r-devel) +── R CMD check results ─────────────────────────────────── REDCapCAST 23.12.1 ──── +Duration: 22.2s -## R CMD check results -❯ On windows-x86_64-devel (r-devel) - checking CRAN incoming feasibility ... [15s] NOTE - Maintainer: 'Andreas Gammelgaard Damsbo ' - - Found the following (possibly) invalid URLs: - URL: https://github.com/SpectrumHealthResearch/REDCapRITS (moved to https://github.com/pegeler/REDCapRITS) - From: README.md - Status: 200 - Message: OK +0 errors ✔ | 0 warnings ✔ | 0 notes ✔ -❯ On windows-x86_64-devel (r-devel) - checking for non-standard things in the check directory ... NOTE +R CMD check succeeded -❯ On windows-x86_64-devel (r-devel) - checking for detritus in the temp directory ... NOTE - Found the following files/directories: - 'lastMiKTeXException' -❯ On ubuntu-gcc-release (r-release) - checking CRAN incoming feasibility ... [8s/35s] NOTE - Maintainer: ‘Andreas Gammelgaard Damsbo ’ - - Found the following (possibly) invalid URLs: - URL: https://github.com/SpectrumHealthResearch/REDCapRITS (moved to https://github.com/pegeler/REDCapRITS) - From: README.md - Status: 200 - Message: OK - -❯ On ubuntu-gcc-release (r-release), fedora-clang-devel (r-devel) - checking HTML version of manual ... NOTE - Skipping checking HTML validation: no command 'tidy' found - -❯ On fedora-clang-devel (r-devel) - checking CRAN incoming feasibility ... [9s/44s] NOTE - Maintainer: ‘Andreas Gammelgaard Damsbo ’ - - Found the following (possibly) invalid URLs: - URL: https://agdamsbo.github.io/REDCapCAST/ - From: DESCRIPTION - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://app.codecov.io/gh/agdamsbo/REDCapCAST?branch=master - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://doi.org/10.5281/zenodo.8013984 - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://github.com/OuhscBbmc/REDCapR - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://github.com/SpectrumHealthResearch/REDCapRITS (moved to https://github.com/pegeler/REDCapRITS) - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://github.com/agdamsbo/REDCapCAST - From: DESCRIPTION - README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://github.com/agdamsbo/REDCapCAST/actions/workflows/R-CMD-check.yaml - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://github.com/agdamsbo/REDCapCAST/actions/workflows/pages/pages-build-deployment - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://github.com/agdamsbo/REDCapCAST/issues - From: DESCRIPTION - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://github.com/pegeler/REDCapRITS - From: DESCRIPTION - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://lifecycle.r-lib.org/articles/stages.html - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://redcap-tools.github.io/ - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://tidyr.tidyverse.org/reference/pivot_wider.html - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - URL: https://www.tidyverse.org/ - From: README.md - Status: 200 - Message: OK - CRAN URL not in canonical form - Canonical CRAN.R-project.org URLs use https. - - Found the following (possibly) invalid ORCID iD: - iD: 0000-0002-7559-1154 (from: DESCRIPTION) - -0 errors ✔ | 0 warnings ✔ | 6 notes ✖ +Updated package version diff --git a/inst/WORDLIST b/inst/WORDLIST index a37e7fd..cece85c 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -13,7 +13,6 @@ README REDCap REDCapR REDCapRITS -SpectrumHealthResearch al api da @@ -33,6 +32,7 @@ md nad og param +pegeler perl redcapcast stRoke diff --git a/test-data/test_splitr/debug.r b/test-data/test_splitr/debug.r index d3cdf92..57c111a 100644 --- a/test-data/test_splitr/debug.r +++ b/test-data/test_splitr/debug.r @@ -1,6 +1,6 @@ # Installing the latest REDCapRITS from GitHub ------------------------------ -#devtools::install_github("SpectrumHealthResearch/REDCapRITS/R@s3methods") -devtools::install_github("SpectrumHealthResearch/REDCapRITS/R@longitudinal-data") +#devtools::install_github("pegeler/REDCapRITS/R@s3methods") +#devtools::install_github("pegeler/REDCapRITS/R@longitudinal-data") # Debugging reading in longitudinal datasets ------------------------------