CORE-forge/coresoi

`ind_9` Caused by error in `t.test.default()`: ! not enough 'x' observations

Closed this issue · 1 comments

installation

first install dev branch ind_9 with commands:

remotes::install_github(c("CORE-forge/coresoi@ind_9"))

{reprex}

I tried many times but that seems to not work in any case. Do you know why?

library(coresoi)
ind_9(
 data = mock_data_core,
 publication_date = data_pubblicazione,
 stat_unit = cf_amministrazione_appaltante,
 cpv = cod_cpv,
 eff_start =data_inizio_effettiva,
 eff_end = data_effettiva_ultimazione,
 emergency_name = "coronavirus"
)
#> Error in `dplyr::mutate()`:
#> ℹ In argument: `ttest = ...$p.value`.
#> ℹ In group 1: `cf_amministrazione_appaltante = "00040720070"`.
#> Caused by error in `t.test.default()`:
#> ! not enough 'x' observations

Created on 2023-02-13 by the reprex package (v2.0.1)

Yes, I was aware of this. However, the following code doesn't work for me:

remotes::install_github(c("CORE-forge/coresoi@ind_9"))

Anyway, I can discuss on this issue directly tomorrow at our scheduled meeting.