Last updated on 2026-02-20 08:53:46 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-fedora-clang | 1.2.6 | 429.00 | 124.63 | 553.63 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.6 | 343.00 | 64.78 | 407.78 | ERROR | |
| r-devel-macos-arm64 | 1.2.6 | 12.00 | -4.00 | 8.00 | ERROR | |
| r-release-macos-arm64 | 1.2.6 | 8.00 | -2.00 | 6.00 | ERROR | |
| r-oldrel-macos-arm64 | 1.2.6 | 8.00 | 3.00 | 11.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.2.6 | 186.00 | 154.00 | 340.00 | OK |
Version: 1.2.6
Check: examples
Result: ERROR
Running examples in ‘poLCAParallel-Ex.R’ failed
The error most likely occurred in:
> ### Name: cheating
> ### Title: GPA and chronic cheating (sample data)
> ### Aliases: cheating
> ### Keywords: datasets
>
> ### ** Examples
>
> ##
> ## Replication of latent class models in Dayton (1998)
> ##
> ## Example 1. Two-class LCA. (Table 3.3, p. 32)
> ##
> data(cheating)
> f <- cbind(LIEEXAM,LIEPAPER,FRAUD,COPYEXAM)~1
> ch2 <- poLCA(f,cheating,nclass=2) # log-likelihood: -440.0271
Conditional item response (column) probabilities,
by outcome variable, for each class (row)
$LIEEXAM
Pr(1) Pr(2)
class 1: 0.4231 0.5769
class 2: 0.9834 0.0166
$LIEPAPER
Pr(1) Pr(2)
class 1: 0.4109 0.5891
class 2: 0.9708 0.0292
$FRAUD
Pr(1) Pr(2)
class 1: 0.7840 0.2160
class 2: 0.9629 0.0371
$COPYEXAM
Pr(1) Pr(2)
class 1: 0.6236 0.3764
class 2: 0.8181 0.1819
Estimated class population shares
0.1606 0.8394
Predicted class memberships (by modal posterior prob.)
0.1693 0.8307
=========================================================
Fit for 2 latent classes:
=========================================================
number of observations: 319
number of estimated parameters: 9
residual degrees of freedom: 6
maximum log-likelihood: -440.0271
AIC(2): 898.0542
BIC(2): 931.9409
G^2(2): 7.764242 (Likelihood ratio/deviance statistic)
X^2(2): 8.323404 (Chi-square goodness of fit)
>
> ##
> ## Example 2. Two-class latent class regression using
> ## GPA as a covariate to predict class membership as
> ## "cheaters" vs. "non-cheaters".
> ## (Table 7.1, p. 85, and Figure 7.1, p. 86)
> ##
> f2 <- cbind(LIEEXAM,LIEPAPER,FRAUD,COPYEXAM)~GPA
> ch2c <- poLCA(f2,cheating,nclass=2) # log-likelihood: -429.6384
*** caught segfault ***
address (nil), cause 'memory not mapped'
Traceback:
1: EmAlgorithmRcpp(features, t(responses), probs.start$vector, ndata, nfeature, noutcomes, nclass, nrep, na.rm, n.thread, maxiter, tol, seed)
2: poLCA(f2, cheating, nclass = 2)
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.2.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
>
> test_check("poLCAParallel")
Loading required package: poLCAParallel
*** caught segfault ***
address (nil), cause 'memory not mapped'
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.2.6
Check: whether package can be installed
Result: ERROR
Installation failed.
Flavors: r-devel-macos-arm64, r-release-macos-arm64, r-oldrel-macos-arm64