- using R version 4.5.2 Patched (2026-02-13 r89426 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 'scpi/DESCRIPTION' ... OK
- this is package 'scpi' version '3.0.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 'scpi' can be installed ... WARNING
Found the following significant warnings:
Warning: replacing previous import 'CVXR::var' by 'stats::var' when loading 'scpi'
Warning: replacing previous import 'CVXR::sd' by 'stats::sd' when loading 'scpi'
See the install log for details.
- 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 ... [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 ... [4s] 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 ... WARNING
Missing or unexported object: 'CVXR::solve'
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [18s] 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 examples ... [5s] ERROR
Running examples in 'scpi-Ex.R' failed
The error most likely occurred in:
> ### Name: scest
> ### Title: Prediction of Synthetic Control
> ### Aliases: scest
>
> ### ** Examples
>
>
> data <- scpi_germany
>
> df <- scdata(df = data, id.var = "country", time.var = "year",
+ outcome.var = "gdp", period.pre = (1960:1990),
+ period.post = (1991:2003), unit.tr = "West Germany",
+ unit.co = setdiff(unique(data$country), "West Germany"),
+ constant = TRUE, cointegrated.data = TRUE)
>
> result <- scest(df, w.constr = list(name = "simplex", Q = 1))
Error: 'solve' is not an exported object from 'namespace:CVXR'
Execution halted
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 1 ERROR, 2 WARNINGs