* using log directory ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/PPtreeregViz.Rcheck’
* using R Under development (unstable) (2025-01-24 r87627)
* using platform: aarch64-apple-darwin20
* R was compiled by
    Apple clang version 14.0.0 (clang-1400.0.29.202)
    GNU Fortran (GCC) 14.2.0
* running under: macOS Ventura 13.4
* using session charset: UTF-8
* checking for file ‘PPtreeregViz/DESCRIPTION’ ... OK
* this is package ‘PPtreeregViz’ version ‘2.0.5’
* 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 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 ‘PPtreeregViz’ can be installed ... [13s/15s] OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-macos-arm64/PPtreeregViz-00install.html' for details.
* used C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
* used SDK: ‘MacOSX11.3.sdk’
* checking C++ specification ... NOTE
  Specified C++11: please drop specification unless essential
* 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 ... [1s/1s] OK
* checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
* checking whether the package can be unloaded cleanly ... [1s/1s] OK
* checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
* checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
* checking loading without being on the library search path ... [1s/1s] OK
* checking whether startup messages can be suppressed ... [1s/1s] OK
* checking dependencies in R code ... WARNING
Missing or unexported objects:
  ‘shapr::feature_matrix_cpp’ ‘shapr::observation_impute_cpp’
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... [4s/5s] OK
* checking Rd files ... [0s/0s] 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/0s] 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 ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking compiled code ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... [3s/3s] ERROR
Running examples in ‘PPtreeregViz-Ex.R’ failed
The error most likely occurred in:

> ### Name: PPshapdependence
> ### Title: Dependency plot
> ### Aliases: PPshapdependence
> 
> ### ** Examples
> 
> data(dataXY)
> testX <- dataXY[1,-1]
> Model <- PPTreereg(Y~., data = dataXY, DEPTH = 2)
> shap_long <- ppshapr_prep(Model, final.rule =5, method="simple")
Error: 'feature_matrix_cpp' is not an exported object from 'namespace:shapr'
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... [14s/15s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘PPtreeregViz.Rmd’ using rmarkdown

Quitting from lines 169-170 [unnamed-chunk-18] (PPtreeregViz.Rmd)
Error: processing vignette 'PPtreeregViz.Rmd' failed with diagnostics:
'feature_matrix_cpp' is not an exported object from 'namespace:shapr'
--- failed re-building ‘PPtreeregViz.Rmd’

SUMMARY: processing the following file failed:
  ‘PPtreeregViz.Rmd’

Error: Vignette re-building failed.
Execution halted

* checking PDF version of manual ... [4s/5s] OK
* DONE
Status: 2 ERRORs, 1 WARNING, 1 NOTE
* using check arguments '--no-clean-on-error '

* elapsed time (check, wall clock): 1:14