Last updated on 2025-12-20 11:50:20 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.4 | 7.59 | 54.97 | 62.56 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.0.4 | 5.17 | 38.35 | 43.52 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.0.4 | 12.00 | 86.01 | 98.01 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.4 | 12.00 | 81.55 | 93.55 | ERROR | |
| r-devel-windows-x86_64 | 1.0.4 | 8.00 | 78.00 | 86.00 | OK | |
| r-patched-linux-x86_64 | 1.0.4 | 6.78 | 49.29 | 56.07 | OK | |
| r-release-linux-x86_64 | 1.0.4 | 5.24 | 48.32 | 53.56 | OK | |
| r-release-macos-arm64 | 1.0.4 | OK | ||||
| r-release-macos-x86_64 | 1.0.4 | 5.00 | 46.00 | 51.00 | OK | |
| r-release-windows-x86_64 | 1.0.4 | 8.00 | 68.00 | 76.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.4 | OK | ||||
| r-oldrel-macos-x86_64 | 1.0.4 | 4.00 | 36.00 | 40.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.4 | 12.00 | 81.00 | 93.00 | OK |
Version: 1.0.4
Check: examples
Result: ERROR
Running examples in ‘epidm-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cip_spells
> ### Title: Continuous Inpatient (CIP) Spells
> ### Aliases: cip_spells
>
> ### ** Examples
>
>
> cip_test <- data.frame(
+ id = c('465','465','465','465','8418','8418','8418',
+ '8418','8418','8418','8418','8418','26443',
+ '26443','26443','33299','33299','33299','33299',
+ '33299','33299','33299','33299','33299','33299',
+ '52635','52635','52635','52635','52635','52635',
+ '52635','52635','52635','52635','52635','52635',
+ '52635','52635','52635','52635','52635','52635',
+ '52635','52635','52635','52635','52635','52635',
+ '52635','52635','52635','78915','78915','78915'),
+ provider = c('X1T','X1T','X1T','X1T','KHA','KHA','KHA',
+ 'KHA','KHA','KHA','KHA','KHA','BX2','BX2',
+ 'BX2','PXH','PXH','PXH','PXH','PXH','PXH',
+ 'PXH','PXH','PXH','PXH','9HA','9HA','9HA',
+ '9HA','9HA','9HA','9HA','9HA','9HA','9HA',
+ '9HA','9HA','9HA','9HA','9HA','9HA','YYT',
+ 'YYT','YYT','YYT','YYT','YYT','YYT','YYT',
+ 'YYT','YYT','YYT','ABX','ABX','ABX'),
+ spell_start = as.Date(c(
+ '2020-03-07','2020-03-07','2020-03-25','2020-04-03','2020-01-25',
+ '2020-01-26','2020-07-14','2020-08-02','2020-08-12','2020-08-19',
+ '2020-08-19','2020-11-19','2019-11-12','2020-04-17','2020-04-23',
+ '2020-07-03','2020-01-17','2020-02-07','2020-03-20','2020-04-27',
+ '2020-06-21','2020-07-02','2020-10-17','2020-11-27','2021-01-02',
+ '2019-12-31','2020-01-02','2020-01-14','2020-01-16','2020-02-07',
+ '2020-02-11','2020-02-14','2020-02-18','2020-02-21','2020-02-25',
+ '2020-02-28','2020-03-09','2020-03-11','2020-03-12','2020-03-13',
+ '2020-03-14','2020-02-04','2020-02-07','2020-02-11','2020-02-14',
+ '2020-02-18','2020-02-21','2020-02-25','2020-02-28','2020-03-09',
+ '2020-03-11','2020-03-12','2020-04-16','2020-04-24','2020-05-13')),
+ spell_end = as.Date(c(
+ '2020-03-07','2020-03-25','2020-04-02','2020-04-27','2020-01-25',
+ '2020-01-27','2020-07-17','2020-08-07','2020-08-14','2020-08-19',
+ '2020-08-22','2020-12-16','2020-04-17','2020-04-23','2020-05-20',
+ '2020-07-24','2020-01-28','2020-02-07','2020-03-23','2020-04-29',
+ '2020-06-21','2020-07-03','2020-11-27','2021-01-02','2021-01-10',
+ '2019-12-31','2020-01-11','2020-01-14','2020-02-04','2020-02-07',
+ '2020-02-11','2020-02-14','2020-02-18','2020-02-21','2020-02-25',
+ '2020-02-28','2020-03-09','2020-03-11','2020-03-12','2020-03-13',
+ '2020-03-30','2020-02-07','2020-02-11','2020-02-14','2020-02-18',
+ '2020-02-21','2020-02-25','2020-02-28','2020-03-09','2020-03-11',
+ '2020-03-12','2020-03-13','2020-04-24','2020-05-13','2020-06-11')),
+ adm_meth = c('21','81','21','81','21','21','11','21','21','21','21',
+ '21','21','81','21','81','21','21','21','21','21','21',
+ '21','13','13','12','22','12','2D','13','13','13','13',
+ '13','13','13','13','13','13','13','21','81','81','81',
+ '81','81','13','81','81','13','13','13','21','11','81'),
+ adm_src = c('19','51','19','51','19','51','19','51','19','19','19',
+ '51','19','51','19','51','19','19','19','19','19','19',
+ '19','51','19','19','19','19','19','19','19','19','19',
+ '19','19','19','51','51','51','51','19','51','51','51',
+ '51','51','51','51','51','51','51','51','19','51','51'),
+ dis_meth = c('1','1','1','1','1','1','1','1','1','1','1','4','1','1',
+ '4','1','1','1','1','1','1','1','8','1','4','1','1','1',
+ '1','1','1','1','1','1','1','1','1','1','1','1','1','1',
+ '1','1','1','1','1','1','1','1','1','1','1','1','2'),
+ dis_dest = c('51','51','51','54','51','19','19','19','19','51','19',
+ '79','51','51','79','65','19','19','19','19','19','29',
+ '98','51','79','19','19','19','51','19','19','19','51',
+ '51','51','19','19','51','51','19','51','51','51','51',
+ '51','51','51','51','51','51','51','51','29','54','19'),
+ patclass = c('1','1','1','1','1','1','1','1','1','1','1','1','1','1',
+ '1','1','1','1','1','1','1','1','1','1','1','2','1','2',
+ '1','2','2','2','2','2','2','2','2','2','2','2','1','1',
+ '1','1','1','1','1','1','1','1','1','1','1','1','1')
+ )
>
> cip_spells(x=cip_test,
+ group_vars = c('id','provider'),
+ patient_classification = 'patclass',
+ spell_start_date = 'spell_start',
+ admission_method = 'adm_meth',
+ admission_source = 'adm_src',
+ spell_end_date = 'spell_end',
+ discharge_destination = 'dis_dest'
+ )[]
Error in `[.data.table`(x, , `:=`(tmp.spellN, seq_len(.N)), by = group_vars) :
attempt access index 9/9 in VECTOR_ELT
Calls: cip_spells -> [ -> [.data.table
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.4
Check: examples
Result: ERROR
Running examples in ‘epidm-Ex.R’ failed
The error most likely occurred in:
> ### Name: cip_spells
> ### Title: Continuous Inpatient (CIP) Spells
> ### Aliases: cip_spells
>
> ### ** Examples
>
>
> cip_test <- data.frame(
+ id = c('465','465','465','465','8418','8418','8418',
+ '8418','8418','8418','8418','8418','26443',
+ '26443','26443','33299','33299','33299','33299',
+ '33299','33299','33299','33299','33299','33299',
+ '52635','52635','52635','52635','52635','52635',
+ '52635','52635','52635','52635','52635','52635',
+ '52635','52635','52635','52635','52635','52635',
+ '52635','52635','52635','52635','52635','52635',
+ '52635','52635','52635','78915','78915','78915'),
+ provider = c('X1T','X1T','X1T','X1T','KHA','KHA','KHA',
+ 'KHA','KHA','KHA','KHA','KHA','BX2','BX2',
+ 'BX2','PXH','PXH','PXH','PXH','PXH','PXH',
+ 'PXH','PXH','PXH','PXH','9HA','9HA','9HA',
+ '9HA','9HA','9HA','9HA','9HA','9HA','9HA',
+ '9HA','9HA','9HA','9HA','9HA','9HA','YYT',
+ 'YYT','YYT','YYT','YYT','YYT','YYT','YYT',
+ 'YYT','YYT','YYT','ABX','ABX','ABX'),
+ spell_start = as.Date(c(
+ '2020-03-07','2020-03-07','2020-03-25','2020-04-03','2020-01-25',
+ '2020-01-26','2020-07-14','2020-08-02','2020-08-12','2020-08-19',
+ '2020-08-19','2020-11-19','2019-11-12','2020-04-17','2020-04-23',
+ '2020-07-03','2020-01-17','2020-02-07','2020-03-20','2020-04-27',
+ '2020-06-21','2020-07-02','2020-10-17','2020-11-27','2021-01-02',
+ '2019-12-31','2020-01-02','2020-01-14','2020-01-16','2020-02-07',
+ '2020-02-11','2020-02-14','2020-02-18','2020-02-21','2020-02-25',
+ '2020-02-28','2020-03-09','2020-03-11','2020-03-12','2020-03-13',
+ '2020-03-14','2020-02-04','2020-02-07','2020-02-11','2020-02-14',
+ '2020-02-18','2020-02-21','2020-02-25','2020-02-28','2020-03-09',
+ '2020-03-11','2020-03-12','2020-04-16','2020-04-24','2020-05-13')),
+ spell_end = as.Date(c(
+ '2020-03-07','2020-03-25','2020-04-02','2020-04-27','2020-01-25',
+ '2020-01-27','2020-07-17','2020-08-07','2020-08-14','2020-08-19',
+ '2020-08-22','2020-12-16','2020-04-17','2020-04-23','2020-05-20',
+ '2020-07-24','2020-01-28','2020-02-07','2020-03-23','2020-04-29',
+ '2020-06-21','2020-07-03','2020-11-27','2021-01-02','2021-01-10',
+ '2019-12-31','2020-01-11','2020-01-14','2020-02-04','2020-02-07',
+ '2020-02-11','2020-02-14','2020-02-18','2020-02-21','2020-02-25',
+ '2020-02-28','2020-03-09','2020-03-11','2020-03-12','2020-03-13',
+ '2020-03-30','2020-02-07','2020-02-11','2020-02-14','2020-02-18',
+ '2020-02-21','2020-02-25','2020-02-28','2020-03-09','2020-03-11',
+ '2020-03-12','2020-03-13','2020-04-24','2020-05-13','2020-06-11')),
+ adm_meth = c('21','81','21','81','21','21','11','21','21','21','21',
+ '21','21','81','21','81','21','21','21','21','21','21',
+ '21','13','13','12','22','12','2D','13','13','13','13',
+ '13','13','13','13','13','13','13','21','81','81','81',
+ '81','81','13','81','81','13','13','13','21','11','81'),
+ adm_src = c('19','51','19','51','19','51','19','51','19','19','19',
+ '51','19','51','19','51','19','19','19','19','19','19',
+ '19','51','19','19','19','19','19','19','19','19','19',
+ '19','19','19','51','51','51','51','19','51','51','51',
+ '51','51','51','51','51','51','51','51','19','51','51'),
+ dis_meth = c('1','1','1','1','1','1','1','1','1','1','1','4','1','1',
+ '4','1','1','1','1','1','1','1','8','1','4','1','1','1',
+ '1','1','1','1','1','1','1','1','1','1','1','1','1','1',
+ '1','1','1','1','1','1','1','1','1','1','1','1','2'),
+ dis_dest = c('51','51','51','54','51','19','19','19','19','51','19',
+ '79','51','51','79','65','19','19','19','19','19','29',
+ '98','51','79','19','19','19','51','19','19','19','51',
+ '51','51','19','19','51','51','19','51','51','51','51',
+ '51','51','51','51','51','51','51','51','29','54','19'),
+ patclass = c('1','1','1','1','1','1','1','1','1','1','1','1','1','1',
+ '1','1','1','1','1','1','1','1','1','1','1','2','1','2',
+ '1','2','2','2','2','2','2','2','2','2','2','2','1','1',
+ '1','1','1','1','1','1','1','1','1','1','1','1','1')
+ )
>
> cip_spells(x=cip_test,
+ group_vars = c('id','provider'),
+ patient_classification = 'patclass',
+ spell_start_date = 'spell_start',
+ admission_method = 'adm_meth',
+ admission_source = 'adm_src',
+ spell_end_date = 'spell_end',
+ discharge_destination = 'dis_dest'
+ )[]
Error in `[.data.table`(x, , `:=`(tmp.spellN, seq_len(.N)), by = group_vars) :
attempt access index 9/9 in VECTOR_ELT
Calls: cip_spells -> [ -> [.data.table
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc