CRAN Package Check Results for Package msSPChelpR

Last updated on 2026-06-08 13:50:42 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.1 12.53 119.66 132.19 OK
r-devel-linux-x86_64-debian-gcc 0.9.1 9.58 44.88 54.46 FAIL
r-devel-linux-x86_64-fedora-clang 0.9.1 23.00 162.39 185.39 OK
r-devel-linux-x86_64-fedora-gcc 0.9.1 22.00 172.06 194.06 OK
r-devel-windows-x86_64 0.9.1 16.00 121.00 137.00 OK
r-patched-linux-x86_64 0.9.1 10.28 113.34 123.62 OK
r-release-linux-x86_64 0.9.1 7.87 110.61 118.48 OK
r-release-macos-arm64 0.9.1 3.00 32.00 35.00 OK
r-release-macos-x86_64 0.9.1 11.00 165.00 176.00 OK
r-release-windows-x86_64 0.9.1 15.00 117.00 132.00 OK
r-oldrel-macos-arm64 0.9.1 OK
r-oldrel-macos-x86_64 0.9.1 10.00 113.00 123.00 OK
r-oldrel-windows-x86_64 0.9.1 22.00 140.00 162.00 OK

Check Details

Version: 0.9.1
Check: whether the namespace can be unloaded cleanly
Result: WARN Fatal error: cannot create 'R_TempDir' Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.1
Check: examples
Result: ERROR Running examples in ‘msSPChelpR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: calc_futime > ### Title: Calculate follow-up time per case until end of follow-up > ### depending on pat_status - tidyverse version > ### Aliases: calc_futime > > ### ** Examples > > #load sample data > data("us_second_cancer") > > #prep step - make wide data as this is the required format > usdata_wide <- us_second_cancer %>% + msSPChelpR::reshape_wide_tidyr(case_id_var = "fake_id", + time_id_var = "SEQ_NUM", timevar_max = 10) > > #prep step - calculate p_spc variable > usdata_wide <- usdata_wide %>% + dplyr::mutate(p_spc = dplyr::case_when(is.na(t_site_icd.2) ~ "No SPC", + !is.na(t_site_icd.2) ~ "SPC developed", + TRUE ~ NA_character_)) %>% + dplyr::mutate(count_spc = dplyr::case_when(is.na(t_site_icd.2) ~ 1, + TRUE ~ 0)) > > #prep step - create patient status variable > usdata_wide <- usdata_wide %>% + msSPChelpR::pat_status(., fu_end = "2017-12-31", dattype = "seer", + status_var = "p_status", life_var = "p_alive.1", + birthdat_var = "datebirth.1", lifedat_var = "datedeath.1") Error in set_labels_helper(x = x[[vars[i]]], labels = labels[[i]], force.labels = force.labels, : Package 'haven' required for this function. Please install it. Calls: %>% ... <Anonymous> -> %>% -> <Anonymous> -> set_labels_helper Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(msSPChelpR) > > test_check("msSPChelpR") Saving _problems/test-pat_status-23.R Long dataset had too many cases per patient. Wide dataset is limited to 2 cases per id as defined in timevar_max option. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-pat_status.R:5:3'): custom variable name for status_var works ── Error in `set_labels_helper(x = x[[vars[i]]], labels = labels[[i]], force.labels = force.labels, force.values = force.values, drop.na = drop.na, var.name = vars[i])`: Package 'haven' required for this function. Please install it. Backtrace: ▆ 1. ├─... %>% ... at test-pat_status.R:5:3 2. ├─msSPChelpR::pat_status(...) 3. │ └─... %>% ... 4. └─sjlabelled::val_labels(...) 5. └─sjlabelled:::set_labels_helper(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.1
Check: re-building of vignette outputs
Result: FAIL
Flavor: r-devel-linux-x86_64-debian-gcc