From e2ad7d0855f5d1f7ce6545e16cd5a91707c01320 Mon Sep 17 00:00:00 2001 From: Andreas Brandmaier Date: Mon, 8 Apr 2024 09:32:14 +0200 Subject: [PATCH] moved invariance test out of standard tests fixed ::: call --- R/npar.R | 2 +- tests/{ => testthat}/invariance.R | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/{ => testthat}/invariance.R (100%) diff --git a/R/npar.R b/R/npar.R index 52fedd8..959ace5 100644 --- a/R/npar.R +++ b/R/npar.R @@ -1,6 +1,6 @@ npar <- function(x) { if (is(x, "OpenMx") || is(x, "MxRAMModel")) { - length(OpenMx:::omxGetParameters(x)) + length(OpenMx::omxGetParameters(x)) } else if (is(x, "ctsemFit")) { stop("npar() not implemented yet for ctsemFit") } else if (is(x, "lavaan")) { diff --git a/tests/invariance.R b/tests/testthat/invariance.R similarity index 100% rename from tests/invariance.R rename to tests/testthat/invariance.R