Running ‘spelling.R’
  Running ‘testthat.R’ [30m/40m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(verdata)
  > 
  > test_check("verdata")
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  INFO [2026-01-23 02:25:27] You are working to 2 replicates according to filter
  INFO [2026-01-23 02:25:27] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 02:25:28] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 02:25:29] Don't include the proportions
  INFO [2026-01-23 02:25:29] You are working with 2 replicates according to filter
  INFO [2026-01-23 02:25:29] Analyzing victims related to armed conflict
  INFO [2026-01-23 02:25:29] Analyzing victims of all ages
  INFO [2026-01-23 02:25:29] Not filtering in is_forced_dis
  Joining with `by = join_by(sexo)`
  Joining with `by = join_by(sexo)`
  INFO [2026-01-23 02:25:29] Including the proportions
  INFO [2026-01-23 02:25:29] You are working to 2 replicates according to filter
  INFO [2026-01-23 02:25:29] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 02:25:30] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 02:25:30] Don't include the proportions
  INFO [2026-01-23 02:25:30] You are working with 2 replicates according to filter
  INFO [2026-01-23 02:25:30] Analyzing victims related to armed conflict
  INFO [2026-01-23 02:25:30] Analyzing victims of all ages
  INFO [2026-01-23 02:25:30] Not filtering in is_forced_dis
  Joining with `by = join_by(sexo)`
  Joining with `by = join_by(sexo)`
  INFO [2026-01-23 02:25:30] Don't include the proportions
  INFO [2026-01-23 02:25:30] You are working to 2 replicates according to filter
  INFO [2026-01-23 02:25:30] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 02:25:30] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 02:25:31] Don't include the proportions
  INFO [2026-01-23 02:25:31] You are working with 2 replicates according to filter
  INFO [2026-01-23 02:25:31] Analyzing victims related to armed conflict
  INFO [2026-01-23 02:25:31] Analyzing victims under 18 years of age
  INFO [2026-01-23 02:25:31] Not filtering in is_forced_dis
  Joining with `by = join_by(sexo, yy_hecho)`
  Joining with `by = join_by(sexo, yy_hecho)`
  INFO [2026-01-23 02:25:31] Don't include the proportions
  INFO [2026-01-23 02:25:31] You are working to 2 replicates according to filter
  INFO [2026-01-23 02:25:31] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 02:25:31] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 02:25:31] Don't include the proportions
  INFO [2026-01-23 02:25:32] You are working with 2 replicates according to filter
  INFO [2026-01-23 02:25:32] Analyzing victims related to armed conflict
  INFO [2026-01-23 02:25:32] Analyzing victims under 18 years of age
  INFO [2026-01-23 02:25:32] Not filtering in is_forced_dis
  Joining with `by = join_by(sexo)`
  Joining with `by = join_by(sexo)`
  INFO [2026-01-23 02:25:32] Don't include the proportions
  Multiple files in zip: reading 'verdata-reclutamiento-R1.csv'
  Rows: 19226 Columns: 53
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  chr  (7): replica, match_group_id, edad_categoria, edad_jep, etnia, p_str, sexo
  dbl (39): in_1, in_2, in_3, in_4, in_5, in_6, in_7, in_8, in_9, in_10, in_11...
  lgl  (7): edad_categoria_imputed, edad_jep_imputed, etnia_imputed, is_confli...
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  Saving _problems/test-estimate_mse-123.R
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  Saving _problems/test-estimate_mse-188.R
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  Saving _problems/test-lookup_estimates-49.R
  Saving _problems/test-lookup_estimates-51.R
  Multiple files in zip: reading 'verdata-reclutamiento-R1.csv'
  Rows: 19226 Columns: 53
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  chr  (7): replica, match_group_id, edad_categoria, edad_jep, etnia, p_str, sexo
  dbl (39): in_1, in_2, in_3, in_4, in_5, in_6, in_7, in_8, in_9, in_10, in_11...
  lgl  (7): edad_categoria_imputed, edad_jep_imputed, etnia_imputed, is_confli...
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  Multiple files in zip: reading 'verdata-reclutamiento-R1.csv'
  Rows: 19226 Columns: 53
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  chr  (7): replica, match_group_id, edad_categoria, edad_jep, etnia, p_str, sexo
  dbl (39): in_1, in_2, in_3, in_4, in_5, in_6, in_7, in_8, in_9, in_10, in_11...
  lgl  (7): edad_categoria_imputed, edad_jep_imputed, etnia_imputed, is_confli...
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  Multiple files in zip: reading 'verdata-reclutamiento-R1.csv'
  Rows: 19226 Columns: 53
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  chr  (7): replica, match_group_id, edad_categoria, edad_jep, etnia, p_str, sexo
  dbl (39): in_1, in_2, in_3, in_4, in_5, in_6, in_7, in_8, in_9, in_10, in_11...
  lgl  (7): edad_categoria_imputed, edad_jep_imputed, etnia_imputed, is_confli...
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  Multiple files in zip: reading 'verdata-reclutamiento-R1.csv'
  Rows: 19226 Columns: 53
  -- Column specification --------------------------------------------------------
  Delimiter: ","
  chr  (7): replica, match_group_id, edad_categoria, edad_jep, etnia, p_str, sexo
  dbl (39): in_1, in_2, in_3, in_4, in_5, in_6, in_7, in_8, in_9, in_10, in_11...
  lgl  (7): edad_categoria_imputed, edad_jep_imputed, etnia_imputed, is_confli...
  
  i Use `spec()` to retrieve the full column specification for this data.
  i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  You are using v1 of the data. This version is appropriate for
                  replicating the results of the joint JEP-CEV-HRDAG project. If you
                  would like to conduct your own analysis of the conflict in Colombia,
                  please use v2 of the data.
  INFO [2026-01-23 03:05:30] You are working to 2 replicates according to filter
  INFO [2026-01-23 03:05:30] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 03:05:30] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 03:05:30] Don't include the proportions
  INFO [2026-01-23 03:05:30] You are working to 2 replicates according to filter
  INFO [2026-01-23 03:05:30] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 03:05:30] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 03:05:31] Don't include the proportions
  INFO [2026-01-23 03:05:31] You are working to 2 replicates according to filter
  INFO [2026-01-23 03:05:31] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 03:05:31] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 03:05:31] Don't include the proportions
  INFO [2026-01-23 03:05:31] You are working to 2 replicates according to filter
  INFO [2026-01-23 03:05:31] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 03:05:31] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 03:05:31] Don't include the proportions
  INFO [2026-01-23 03:05:31] You are working to 2 replicates according to filter
  INFO [2026-01-23 03:05:31] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 03:05:31] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 03:05:31] Don't include the proportions
  INFO [2026-01-23 03:05:31] You are working to 2 replicates according to filter
  INFO [2026-01-23 03:05:31] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 03:05:32] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 03:05:32] Including the proportions
  Joining with `by = join_by(etnia, observed, obs_prop_na)`
  INFO [2026-01-23 03:05:32] You are working to 2 replicates according to filter
  INFO [2026-01-23 03:05:32] Analyzing documented victims related to armed conflict
  INFO [2026-01-23 03:05:32] Analyzing documented victims under 18 years of age
  INFO [2026-01-23 03:05:32] Including the proportions
  Joining with `by = join_by(sexo, observed, obs_prop_na)`
  [ FAIL 4 | WARN 6 | SKIP 0 | PASS 116 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-estimate_mse.R:123:5'): mse function returns correct results when using lookup functionality ──
  Expected `as.numeric(s3_end - s3_start) < 2` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-estimate_mse.R:188:5'): lookup function correctly finds strata that have and have not been estimated ──
  Expected `r7$estimates_exist` to equal TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-lookup_estimates.R:49:5'): Lookup existing estimates ─────────
  Expected `nrow(estimates)` to equal 1000.
  Differences:
    `actual`:    1.0
  `expected`: 1000.0
  
  ── Failure ('test-lookup_estimates.R:51:5'): Lookup existing estimates ─────────
  Expected `round(mean(estimates$N), 0)` to equal 2066.
  Differences:
    `actual`:     NA
  `expected`: 2066.0
  
  
  [ FAIL 4 | WARN 6 | SKIP 0 | PASS 116 ]
  Error:
  ! Test failures.
  Execution halted