Last updated on 2025-05-15 07:50:07 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
causalBatch | 1 | 12 | |
lolR | 13 | ||
mgc | 5 | 8 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [27s/33s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(causalBatch)
>
> test_check("causalBatch")
Adjusting for1covariate(s) or covariate level(s)
Adjusting for1covariate(s) or covariate level(s)
Adjusting for1covariate(s) or covariate level(s)
# weights: 3 (2 variable)
initial value 124.073345
final value 113.607485
converged
# weights: 3 (2 variable)
initial value 113.676138
iter 10 value 60.841697
iter 10 value 60.841697
iter 10 value 60.841697
final value 60.841697
converged
# weights: 3 (2 variable)
initial value 131.697964
final value 109.572187
converged
# weights: 3 (2 variable)
initial value 113.676138
final value 108.863320
converged
Loading required package: ks
Attaching package: 'ks'
The following object is masked from 'package:testthat':
compare
[ FAIL 1 | WARN 1 | SKIP 3 | PASS 47 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-causal_cdcorr.R:31:3', 'test-causal_cdcorr.R:46:3',
'test-causal_cdcorr.R:89:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-causal_ccombat.R:70:3'): AIPW cComBat raises warning when few samples are retained ──
`cb.correct.aipw_cComBat(...)` did not throw the expected warning.
[ FAIL 1 | WARN 1 | SKIP 3 | PASS 47 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: NOTE: 13
Version: 2.1
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Eric Bridgeford <ericwb95@gmail.com>’
The Description field contains
et al. (2017) <arXiv:1709.01233>, we provide several methods for
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 2.1
Check: Rd files
Result: NOTE
checkRd: (-1) lol.project.lrlda.Rd:18: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.lrlda.Rd:19: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.lrlda.Rd:20: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.lrlda.Rd:21: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.lrlda.Rd:22: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.pca.Rd:16: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.pca.Rd:17: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.pca.Rd:18: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.pca.Rd:19: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.project.pca.Rd:20: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.sims.fat_tails.Rd:25: Lost braces; missing escapes or markup?
25 | \item{f}{the fatness scaling of the tail. S2 = f*S1, where S1_{ij} = rho if i != j, and 1 if i == j. Defaults to \code{15}.}
| ^
checkRd: (-1) lol.sims.mean_diff.Rd:36: Lost braces; missing escapes or markup?
36 | \item{s}{the scaling parameter of the covariance matrix. S_{ij} = scaling*1 if i == j, or scaling*offdiag if i != j. Defaults to \code{1}.}
| ^
checkRd: (-1) lol.utils.decomp.Rd:21: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.utils.decomp.Rd:22: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.utils.decomp.Rd:23: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.utils.decomp.Rd:24: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.utils.decomp.Rd:25: Lost braces in \itemize; meant \describe ?
checkRd: (-1) lol.xval.eval.Rd:31: Lost braces; missing escapes or markup?
31 | \item{alg}{the algorithm to use for embedding. Should be a function that accepts inputs \code{X}, \code{Y}, and has a parameter for \code{alg.dimname} if \code{alg} is supervised, or just \code{X} and \code{alg.dimname} if \code{alg} is unsupervised.This algorithm should return a list containing a matrix that embeds from {d} to {r <= d} dimensions.}
| ^
checkRd: (-1) lol.xval.eval.Rd:31: Lost braces; missing escapes or markup?
31 | \item{alg}{the algorithm to use for embedding. Should be a function that accepts inputs \code{X}, \code{Y}, and has a parameter for \code{alg.dimname} if \code{alg} is supervised, or just \code{X} and \code{alg.dimname} if \code{alg} is unsupervised.This algorithm should return a list containing a matrix that embeds from {d} to {r <= d} dimensions.}
| ^
checkRd: (-1) lol.xval.eval.Rd:68: Lost braces
68 | \item{if ]code{rank.low == TRUE}, users cross-validation method with \code{ntrain = min((k-1)/k*n, d)} sample training sets, where \code{d} is the number of dimensions in \code{X}. This ensures that the training data is always low-rank, \code{ntrain < d + 1}. Note that the resulting training sets may have \code{ntrain < (k-1)/k*n}, but the resulting testing sets will always be properly rotated \code{ntest = n/k} to ensure no dependencies in fold-wise testing.}
| ^
checkRd: (-1) lol.xval.optimal_dimselect.Rd:32: Lost braces; missing escapes or markup?
32 | \item{alg}{the algorithm to use for embedding. Should be a function that accepts inputs \code{X} and \code{Y} and embedding dimension \code{r} if \code{alg} is supervised, or just \code{X} and embedding dimension \code{r} if \code{alg} is unsupervised.This algorithm should return a list containing a matrix that embeds from {d} to {r < d} dimensions.}
| ^
checkRd: (-1) lol.xval.optimal_dimselect.Rd:32: Lost braces; missing escapes or markup?
32 | \item{alg}{the algorithm to use for embedding. Should be a function that accepts inputs \code{X} and \code{Y} and embedding dimension \code{r} if \code{alg} is supervised, or just \code{X} and embedding dimension \code{r} if \code{alg} is unsupervised.This algorithm should return a list containing a matrix that embeds from {d} to {r < d} dimensions.}
| ^
checkRd: (-1) lol.xval.optimal_dimselect.Rd:75: Lost braces
75 | \item{if ]code{rank.low == TRUE}, users cross-validation method with \code{ntrain = min((k-1)/k*n, d)} sample training sets, where \code{d} is the number of dimensions in \code{X}. This ensures that the training data is always low-rank, \code{ntrain < d + 1}. Note that the resulting training sets may have \code{ntrain < (k-1)/k*n}, but the resulting testing sets will always be properly rotated \code{ntest = n/k} to ensure no dependencies in fold-wise testing.}
| ^
checkRd: (-1) predict.nearestCentroid.Rd:12: Lost braces in \itemize; meant \describe ?
checkRd: (-1) predict.nearestCentroid.Rd:13: Lost braces in \itemize; meant \describe ?
checkRd: (-1) predict.nearestCentroid.Rd:14: Lost braces in \itemize; meant \describe ?
checkRd: (-1) predict.randomChance.Rd:12: Lost braces in \itemize; meant \describe ?
checkRd: (-1) predict.randomChance.Rd:13: Lost braces in \itemize; meant \describe ?
checkRd: (-1) predict.randomGuess.Rd:12: Lost braces in \itemize; meant \describe ?
checkRd: (-1) predict.randomGuess.Rd:13: Lost braces in \itemize; meant \describe ?
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 2.1
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘ggplot2’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 2.1
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 5, OK: 8
Version: 2.0.2
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘boot’ ‘energy’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 2.0.2
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.