* using log directory 'd:/Rcompile/CRANpkg/local/4.5/qtkit.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'qtkit/DESCRIPTION' ... OK * this is package 'qtkit' version '1.1.1' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'qtkit' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 ... [4s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [4s] OK * checking loading without being on the library search path ... [4s] 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 ... [10s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [8s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [16s] ERROR Running 'testthat.R' [16s] 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(qtkit) > library(httptest) > library(chromote) > > # Function to delete Crashpad directories > cleanup_crashpad <- function() { + crashpad_dirs <- dir(tempdir(), full.names = TRUE, pattern = "Crashpad") + if (length(crashpad_dirs) > 0) { + unlink(crashpad_dirs, recursive = TRUE) + } + } > > testthat::setup(cleanup_crashpad) > testthat::teardown(cleanup_crashpad) > > # Function to check if Chromium is > # available and can be initialized > is_chromium_available <- function() { + tryCatch({ + chromote::Chromote$new() + TRUE + }, error = function(e) { + FALSE + }) + } > > # Set the timeout for chromote (Windows only issue) > # https://github.com/rstudio/chromote/issues/114#issuecomment-1675406196 > options(chromote.timeout = 60) > > test_check("qtkit") Are you aware of the permissions to use this data? Are you aware of the permissions to use this data? Please review the documentation and try again. 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 Variable name: x Q1: 2.25 Q3: 4.75 IQR: 2.5 Upper fence: 8.5 Lower fence: -1.5 Number of outliers: 1 Variable name: x Q1: 2 Q3: 4 IQR: 2 Upper fence: 7 Lower fence: -1 Number of outliers: 0 Creating target data directory Downloading data... trying URL 'https://raw.githubusercontent.com/qtalr/qtkit/main/inst/extdata/test_data.zip' Saving _problems/test-get_archive_data-16.R Data already exists Creating target data directory Downloading data... trying URL 'https://raw.githubusercontent.com/qtalr/qtkit/main/inst/extdata/test_data.zip' Content type 'application/zip' length 1966 bytes ================================================== downloaded 1966 bytes Data downloaded! Saving 7 x 7 in image Saving 7 x 7 in image Saving 7 x 7 in image Saving 7 x 7 in image Saving 7 x 7 in image Saving 7 x 7 in image Directory created: D:\temp\2026_07_08_01_50_00_3490\RtmpGykqAA/new_dir Saving 7 x 7 in image Saving 7 x 7 in image Saving 7 x 7 in image Attaching package: 'kableExtra' The following object is masked from 'package:dplyr': group_rows Google Chrome was not found. Try setting the `CHROMOTE_CHROME` environment variable to the executable of a Chromium-based browser, such as Google Chrome, Chromium or Brave. Directory created: D:\temp\2026_07_08_01_50_00_3490\RtmpGykqAA/non_existent_dir [ FAIL 1 | WARN 1 | SKIP 2 | PASS 107 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • Chromium not available (1): 'test-write_kbl.R:11:3' • On CRAN (1): 'test-get_gutenberg_data.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_archive_data.R:16:3'): do, when the target directory does not exist ── Error in `utils::download.file(url = url, destfile = temp)`: cannot open URL 'https://raw.githubusercontent.com/qtalr/qtkit/main/inst/extdata/test_data.zip' Backtrace: ▆ 1. └─qtkit::get_archive_data(url = url, target_dir = target_dir, confirmed = TRUE) at test-get_archive_data.R:16:3 2. └─qtkit:::download_and_decompress(url, target_dir, ext) 3. └─utils::download.file(url = url, destfile = temp) [ FAIL 1 | WARN 1 | SKIP 2 | PASS 107 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [14s] OK * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 1 ERROR