- using R version 4.3.3 (2024-02-29 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.3.0
GNU Fortran (GCC) 12.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'ordbetareg/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'ordbetareg' version '0.8'
- 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 'ordbetareg' can be installed ... OK
See the install log for details.
- checking installed package size ... NOTE
installed size is 7.2Mb
sub-directories of 1Mb or more:
data 5.2Mb
doc 1.8Mb
- 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [5s] OK
- checking whether the package can be loaded with stated dependencies ... [5s] OK
- checking whether the package can be unloaded cleanly ... [5s] 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 ... [5s] 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 ... [15s] NOTE
posterior_epred_ordbeta_prep: no visible global function definition for
'%||%'
Undefined global functions or variables:
%||%
- 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [14s] 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 ... [10s] ERROR
Running examples in 'ordbetareg-Ex.R' failed
The error most likely occurred in:
> ### Name: posterior_epred_ordbeta.brmsfit
> ### Title: Calculate Probability of Response Components
> ### Aliases: posterior_epred_ordbeta.brmsfit posterior_epred_ordbeta
>
> ### ** Examples
>
>
> data('ord_fit_mean')
>
> # use function to calculate probability of top end of scale
>
> pr_1s <- posterior_epred_ordbeta(ord_fit_mean,component="top")
Error in incl_thres %||% FALSE : could not find function "%||%"
Calls: posterior_epred_ordbeta ... posterior_epred_ordbeta.brmsfit -> posterior_epred_ordbeta_prep -> as_one_logical
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [33s] ERROR
Error(s) in re-building vignettes:
--- re-building 'package_introduction.qmd' using html
processing file: package_introduction.qmd
Error in incl_thres %||% FALSE : could not find function "%||%"
Calls: .main ... posterior_epred_ordbeta.brmsfit -> posterior_epred_ordbeta_prep -> as_one_logical
Quitting from package_introduction.qmd:287-297 [posterior_epred_ordbeta]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `incl_thres %||% FALSE`:
! could not find function "%||%"
---
Backtrace:
▆
1. ├─... %>% hist
2. ├─graphics::hist(.)
3. ├─ordbetareg::posterior_epred_ordbeta(ord_fit_mean, component = "top")
4. └─ordbetareg:::posterior_epred_ordbeta.brmsfit(ord_fit_mean, component = "top")
5. └─ordbetareg:::posterior_epred_ordbeta_prep(...)
6. └─ordbetareg:::as_one_logical(incl_thres %||% FALSE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Execution halted
Error: processing vignette 'package_introduction.qmd' failed with diagnostics:
✖ Error running quarto cli.
Caused by error:
! System command 'quarto.exe' failed
--- failed re-building 'package_introduction.qmd'
SUMMARY: processing the following file failed:
'package_introduction.qmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 2 ERRORs, 2 NOTEs