* using log directory ‘/srv/hornik/tmp/CRAN_pretest/cbsREPS.Rcheck’ * using R Under development (unstable) (2025-04-17 r88154) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (1+b1) Debian flang-new version 19.1.7 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘cbsREPS/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘cbsREPS’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Vivek Gajadhar ’ New submission Possibly misspelled words in DESCRIPTION: Eurostat (24:8, 26:78) HMTS (18:69, 25:9) Hedonic (3:8, 17:72, 18:75) Ishaak (25:54) Laspeyres (18:37) Ouwehand (25:62) Paasche (18:48) Remøy (25:75) * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘cbsREPS’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s/4s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [8s/8s] NOTE Examples with CPU (user + system) or elapsed time > 5s user system elapsed calculate_price_index 6.905 0.051 6.959 * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [28s/28s] ERROR Running ‘testthat.R’ [28s/28s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(cbsREPS) > > test_check("cbsREPS") Progress: 100%[ FAIL 2 | WARN 0 | SKIP 0 | PASS 53 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-helpers.R:224:5'): Test calculate_hedonic_imputationmatrix ─── `matrix_output` (`actual`) not equal to `ref_tbl` (`expected`). actual$matrix_hmts_analysis vs expected$matrix_hmts_analysis Base_2018Q1 actual$matrix_hmts_analysis[16, ] 8.603 actual$matrix_hmts_analysis[17, ] 12.4122 actual$matrix_hmts_analysis[18, ] 0.0409 - actual$matrix_hmts_analysis[19, ] 303.1702 + expected$matrix_hmts_analysis[19, ] 303.1701 actual$matrix_hmts_analysis[20, ] -0.022 actual$matrix_hmts_analysis[21, ] 0.0128 actual$matrix_hmts_analysis[22, ] -1.7261 actual$matrix_hmts_analysis$Base_2018Q1[16:22] vs expected$matrix_hmts_analysis$Base_2018Q1[16:22] "8.603" "12.4122" "0.0409" - "303.1702" + "303.1701" "-0.022" "0.0128" "-1.7261" ── Failure ('test_hmts.R:25:5'): Test HMTS ───────────────────────────────────── `tbl_hmts` (`actual`) not equal to `ref_tbl` (`expected`). actual$Matrix_HMTS_analysis vs expected$Matrix_HMTS_analysis Base_2018Q1 actual$Matrix_HMTS_analysis[16, ] 8.603 actual$Matrix_HMTS_analysis[17, ] 12.4122 actual$Matrix_HMTS_analysis[18, ] 0.0409 - actual$Matrix_HMTS_analysis[19, ] 303.1702 + expected$Matrix_HMTS_analysis[19, ] 303.1701 actual$Matrix_HMTS_analysis[20, ] -0.022 actual$Matrix_HMTS_analysis[21, ] 0.0128 actual$Matrix_HMTS_analysis[22, ] -1.7261 actual$Matrix_HMTS_analysis$Base_2018Q1[16:22] vs expected$Matrix_HMTS_analysis$Base_2018Q1[16:22] "8.603" "12.4122" "0.0409" - "303.1702" + "303.1701" "-0.022" "0.0128" "-1.7261" [ FAIL 2 | WARN 0 | SKIP 0 | PASS 53 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs