Found the following significant warnings:
  CPREMs.cpp:540:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
See '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/BayesRGMM.Rcheck/00install.out' for details.
Error(s) in re-building vignettes:
  ...
--- re-building 'BayesRGMM.Rnw' using Sweave

Error: processing vignette 'BayesRGMM.Rnw' failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building 'BayesRGMM.Rnw'

SUMMARY: processing the following file failed:
  'BayesRGMM.Rnw'

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘BayesRGMM.Rnw’ using Sweave

Error: processing vignette ‘BayesRGMM.Rnw’ failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building ‘BayesRGMM.Rnw’

SUMMARY: processing the following file failed:
  ‘BayesRGMM.Rnw’

Error: Vignette re-building failed.
Execution halted
Found the following significant warnings:
  CPREMs.cpp:540:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
See ‘/data/gannet/ripley/R/packages/tests-clang/BayesRGMM.Rcheck/00install.out’ for details.
installed size is  7.0Mb
  sub-directories of 1Mb or more:
    libs   6.4Mb
Error(s) in re-building vignettes:
--- re-building ‘BayesRGMM.Rnw’ using Sweave

Error: processing vignette 'BayesRGMM.Rnw' failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building ‘BayesRGMM.Rnw’

SUMMARY: processing the following file failed:
  ‘BayesRGMM.Rnw’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘BayesRGMM.Rnw’ using Sweave

Error: processing vignette 'BayesRGMM.Rnw' failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building ‘BayesRGMM.Rnw’

SUMMARY: processing the following file failed:
  ‘BayesRGMM.Rnw’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building 'BayesRGMM.Rnw' using Sweave

Error: processing vignette 'BayesRGMM.Rnw' failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building 'BayesRGMM.Rnw'

SUMMARY: processing the following file failed:
  'BayesRGMM.Rnw'

Error: Vignette re-building failed.
Execution halted
installed size is  8.2Mb
  sub-directories of 1Mb or more:
    libs   7.7Mb
installed size is  8.0Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
Running ‘testthat.R’ [9s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  • empty test (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_BayesRGMM_CPREM.R:54:1): A simulation study of CumulativeProbit ──
  <std::runtime_error/C++Error/error/condition>
  Error in `CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues, 
      HyperPara, UpdatePara, TuningPara, Interactive)`: inv(): matrix is singular
  Backtrace:
      ▆
   1. └─BayesRGMM::BayesCumulativeProbitHSD(...) at test_BayesRGMM_CPREM.R:54:0
   2.   └─BayesRGMM:::CumulativeProbitMCMC(...)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 0 ]
  Error: Test failures
  Execution halted
Errors in running code in vignettes:
when running code in ‘BayesRGMM.Rnw’
  ...
+     paste0("x", 1:P, collapse = "+"))), data = CPREM.sim.data$sim.data, 
+   .... [TRUNCATED] 
Start reading Data
End reading Data
Read Hyperparameters.
Start running MCMC procedure:

  When sourcing ‘BayesRGMM.R’:
Error: inv(): matrix is singular
Execution halted

  ‘BayesRGMM.Rnw’ using ‘UTF-8’... failed
Error(s) in re-building vignettes:
  ...
--- re-building ‘BayesRGMM.Rnw’ using Sweave

Error: processing vignette 'BayesRGMM.Rnw' failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building ‘BayesRGMM.Rnw’

SUMMARY: processing the following file failed:
  ‘BayesRGMM.Rnw’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘BayesRGMM.Rnw’ using Sweave

Error: processing vignette ‘BayesRGMM.Rnw’ failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building ‘BayesRGMM.Rnw’

SUMMARY: processing the following file failed:
  ‘BayesRGMM.Rnw’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘BayesRGMM.Rnw’ using Sweave

Error: processing vignette 'BayesRGMM.Rnw' failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building ‘BayesRGMM.Rnw’

SUMMARY: processing the following file failed:
  ‘BayesRGMM.Rnw’

Error: Vignette re-building failed.
Execution halted
installed size is 10.0Mb
  sub-directories of 1Mb or more:
    libs   9.5Mb
installed size is  8.0Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
Error(s) in re-building vignettes:
--- re-building 'BayesRGMM.Rnw' using Sweave

Error: processing vignette 'BayesRGMM.Rnw' failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building 'BayesRGMM.Rnw'

SUMMARY: processing the following file failed:
  'BayesRGMM.Rnw'

Error: Vignette re-building failed.
Execution halted
installed size is  8.0Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
Error(s) in re-building vignettes:
--- re-building 'BayesRGMM.Rnw' using Sweave

Error: processing vignette 'BayesRGMM.Rnw' failed with diagnostics:
 chunk 4 (label = Simulation: Ordinal outcome) 
Error in CumulativeProbitMCMC(num.of.iter, Data, Robustness, InitialValues,  : 
  inv(): matrix is singular

--- failed re-building 'BayesRGMM.Rnw'

SUMMARY: processing the following file failed:
  'BayesRGMM.Rnw'

Error: Vignette re-building failed.
Execution halted