- 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 'pprof/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'pprof' version '1.0.3'
- 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 'pprof' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 14.3.0'
- checking installed package size ... OK
- checking package 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 ... [6s] OK
- checking whether the package can be loaded with stated dependencies ... [5s] OK
- checking whether the package can be unloaded cleanly ... [6s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s] OK
- checking whether the namespace can be unloaded cleanly ... [6s] OK
- checking loading without being on the library search path ... [7s] 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 ... [28s] OK
- checking Rd files ... [2s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... INFO
GNU make is a SystemRequirements.
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking examples ... [13s] ERROR
Running examples in 'pprof-Ex.R' failed
The error most likely occurred in:
> ### Name: SM_output.logis_cre
> ### Title: Calculate direct/indirect standardized ratios/rates from a
> ### fitted 'logis_cre' object
> ### Aliases: SM_output.logis_cre
>
> ### ** Examples
>
> data(ExampleDataBinary)
> outcome <- ExampleDataBinary$Y
> covar <- ExampleDataBinary$Z
> ProvID <- ExampleDataBinary$ProvID
> data <- data.frame(outcome, ProvID, covar)
> outcome.char <- colnames(data)[1]
> ProvID.char <- colnames(data)[2]
> wb.char <- c("z1", "z2")
> other.char <- c("z3", "z4", "z5")
> fit_cre <- logis_cre(data = data, Y.char = outcome.char, ProvID.char = ProvID.char,
+ wb.char = wb.char, other.char = other.char)
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [13s] ERROR
Running 'testthat.R' [12s]
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(pprof)
>
> test_check("pprof")
Input format: Y, Z, and ProvID.
Input format: Y, Z, and ProvID.
Input format: Y, Z, and ProvID.
3 out of 100 remaining providers with no events.
0 out of 100 remaining providers with all events.
After screening, 38.77% of all records exhibit occurrences of events (Y = 1)
Implementing SerBIN algorithm (Rcpp) for fixed provider effects model ...
Iter 1: Minimum criterion across all checks is 5.022e-01;
Iter 2: Minimum criterion across all checks is 1.422e-01;
Iter 3: Minimum criterion across all checks is 3.528e-02;
Iter 4: Minimum criterion across all checks is 5.671e-03;
Iter 5: Minimum criterion across all checks is 1.214e-03;
Iter 6: Minimum criterion across all checks is 2.151e-04;
Iter 7: Minimum criterion across all checks is 6.647e-05;
Iter 8: Minimum criterion across all checks is 7.565e-06;
serBIN (Rcpp) algorithm converged after 8 iterations!
Setting levels: control = 0, case = 1
Setting direction: controls < cases
Input format: Y, Z, and ProvID.
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [9s] OK
- DONE
Status: 2 ERRORs