CRAN Package Check Results for Package fdaconcur

Last updated on 2024-07-12 15:52:47 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 4.45 48.81 53.26 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.2 3.63 34.32 37.95 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.2 68.29 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.2 61.00 ERROR
r-devel-windows-x86_64 0.1.2 6.00 56.00 62.00 ERROR
r-patched-linux-x86_64 0.1.2 2.75 44.76 47.51 ERROR
r-release-linux-x86_64 0.1.2 2.70 44.06 46.76 ERROR
r-release-macos-arm64 0.1.2 23.00 NOTE
r-release-macos-x86_64 0.1.2 36.00 NOTE
r-release-windows-x86_64 0.1.2 5.00 58.00 63.00 ERROR
r-oldrel-macos-arm64 0.1.2 25.00 NOTE
r-oldrel-macos-x86_64 0.1.2 59.00 NOTE
r-oldrel-windows-x86_64 0.1.2 6.00 62.00 68.00 ERROR

Check Details

Version: 0.1.2
Check: dependencies in R code
Result: WARN Missing or unexported object: ‘fdapace::FLM1’ Unexported object imported by a ':::' call: ‘fdapace:::interp2lin’ See the note in ?`:::` about the use of this operator. 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-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.1.2
Check: examples
Result: ERROR Running examples in ‘fdaconcur-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: historyIndexDense > ### Title: Functional History Index Model > ### Aliases: historyIndexDense > > ### ** Examples > > set.seed(1) > ### functional covariate X(t) ### > phi1 <- function(t) sin(pi*t / 5) / sqrt(5) > phi2 <- function(t) cos(pi*t / 5) / sqrt(5) > lambdaX <- c(10, 5) > n <- 150 > N <- 101 > Xi <- matrix(rnorm(2*n), nrow = n, ncol = 2) > denseLt <- list() > denseLy <- list() > t0 <- seq(0, 15, length.out = N) > for (i in 1:n) { + denseLt[[i]] <- t0 + denseLy[[i]] <- lambdaX[1]*Xi[i, 1]*phi1(t0) + lambdaX[2]*Xi[i, 2]*phi2(t0) + } > denseX0 <- list(Ly = denseLy, Lt = denseLt) > > ### generate coefficient function gamma(u), beta(u) ### > Lag <- 5 > u0 <- t0[t0<=Lag] > t0_out <- t0[t0>=Lag] > gamma_u <- function(u) sqrt(2/5) * cos(pi * u /5) > beta_1 <- function(t) 5*sin(pi*t/10) > beta_0 <- function(t) t^2/2 > > ### functional response Y(t), t in t0_out ### > denseLt <- list() > denseLy <- list() > for (i in 1:n) { + denseLt[[i]] <- t0_out + Xt <- denseX0$Ly[[i]] + Xtu <- t(sapply((1:N)[t0>=Lag], function(j){ + rev(Xt[(j-length(u0)+1):j]) #history index for X[t-u:t] + })) + IntGammaXtu <- apply(Xtu, 1, function(v){ + fdapace::trapzRcpp(u0, gamma_u(u0) * v) + }) + #append 0 in the first length(u0)-1 element(useless info. in our modeling) + denseLy[[i]] <- beta_0(t0_out) + IntGammaXtu * beta_1(t0_out) + rnorm(length(t0_out), 0, 0.1) + } > denseY <- list(Ly = denseLy, Lt = denseLt) > > ### functional predictor X(t) (adjust for t0_out) ### > denseLt <- list() > denseLy <- list() > for (i in 1:n){ + denseLt[[i]] <- t0_out + denseLy[[i]] <- denseX0$Ly[[i]][t0>=Lag] + } > denseX <- list(Ly = denseLy, + Lt = denseLt) > fit <- historyIndexDense(Y = denseY, X = list(X = denseX), Lag = Lag) Error: 'FLM1' is not an exported object from 'namespace:fdapace' Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed ConcurReg 4.631 0.169 6.817 GetCI_Dense 3.925 0.025 5.050 Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.2
Check: examples
Result: ERROR Running examples in ‘fdaconcur-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: historyIndexDense > ### Title: Functional History Index Model > ### Aliases: historyIndexDense > > ### ** Examples > > set.seed(1) > ### functional covariate X(t) ### > phi1 <- function(t) sin(pi*t / 5) / sqrt(5) > phi2 <- function(t) cos(pi*t / 5) / sqrt(5) > lambdaX <- c(10, 5) > n <- 150 > N <- 101 > Xi <- matrix(rnorm(2*n), nrow = n, ncol = 2) > denseLt <- list() > denseLy <- list() > t0 <- seq(0, 15, length.out = N) > for (i in 1:n) { + denseLt[[i]] <- t0 + denseLy[[i]] <- lambdaX[1]*Xi[i, 1]*phi1(t0) + lambdaX[2]*Xi[i, 2]*phi2(t0) + } > denseX0 <- list(Ly = denseLy, Lt = denseLt) > > ### generate coefficient function gamma(u), beta(u) ### > Lag <- 5 > u0 <- t0[t0<=Lag] > t0_out <- t0[t0>=Lag] > gamma_u <- function(u) sqrt(2/5) * cos(pi * u /5) > beta_1 <- function(t) 5*sin(pi*t/10) > beta_0 <- function(t) t^2/2 > > ### functional response Y(t), t in t0_out ### > denseLt <- list() > denseLy <- list() > for (i in 1:n) { + denseLt[[i]] <- t0_out + Xt <- denseX0$Ly[[i]] + Xtu <- t(sapply((1:N)[t0>=Lag], function(j){ + rev(Xt[(j-length(u0)+1):j]) #history index for X[t-u:t] + })) + IntGammaXtu <- apply(Xtu, 1, function(v){ + fdapace::trapzRcpp(u0, gamma_u(u0) * v) + }) + #append 0 in the first length(u0)-1 element(useless info. in our modeling) + denseLy[[i]] <- beta_0(t0_out) + IntGammaXtu * beta_1(t0_out) + rnorm(length(t0_out), 0, 0.1) + } > denseY <- list(Ly = denseLy, Lt = denseLt) > > ### functional predictor X(t) (adjust for t0_out) ### > denseLt <- list() > denseLy <- list() > for (i in 1:n){ + denseLt[[i]] <- t0_out + denseLy[[i]] <- denseX0$Ly[[i]][t0>=Lag] + } > denseX <- list(Ly = denseLy, + Lt = denseLt) > fit <- historyIndexDense(Y = denseY, X = list(X = denseX), Lag = Lag) Error: 'FLM1' is not an exported object from 'namespace:fdapace' Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed ConcurReg 3.106 0.164 5.764 GetCI_Dense 2.495 0.069 5.197 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.2
Check: examples
Result: ERROR Running examples in ‘fdaconcur-Ex.R’ failed The error most likely occurred in: > ### Name: historyIndexDense > ### Title: Functional History Index Model > ### Aliases: historyIndexDense > > ### ** Examples > > set.seed(1) > ### functional covariate X(t) ### > phi1 <- function(t) sin(pi*t / 5) / sqrt(5) > phi2 <- function(t) cos(pi*t / 5) / sqrt(5) > lambdaX <- c(10, 5) > n <- 150 > N <- 101 > Xi <- matrix(rnorm(2*n), nrow = n, ncol = 2) > denseLt <- list() > denseLy <- list() > t0 <- seq(0, 15, length.out = N) > for (i in 1:n) { + denseLt[[i]] <- t0 + denseLy[[i]] <- lambdaX[1]*Xi[i, 1]*phi1(t0) + lambdaX[2]*Xi[i, 2]*phi2(t0) + } > denseX0 <- list(Ly = denseLy, Lt = denseLt) > > ### generate coefficient function gamma(u), beta(u) ### > Lag <- 5 > u0 <- t0[t0<=Lag] > t0_out <- t0[t0>=Lag] > gamma_u <- function(u) sqrt(2/5) * cos(pi * u /5) > beta_1 <- function(t) 5*sin(pi*t/10) > beta_0 <- function(t) t^2/2 > > ### functional response Y(t), t in t0_out ### > denseLt <- list() > denseLy <- list() > for (i in 1:n) { + denseLt[[i]] <- t0_out + Xt <- denseX0$Ly[[i]] + Xtu <- t(sapply((1:N)[t0>=Lag], function(j){ + rev(Xt[(j-length(u0)+1):j]) #history index for X[t-u:t] + })) + IntGammaXtu <- apply(Xtu, 1, function(v){ + fdapace::trapzRcpp(u0, gamma_u(u0) * v) + }) + #append 0 in the first length(u0)-1 element(useless info. in our modeling) + denseLy[[i]] <- beta_0(t0_out) + IntGammaXtu * beta_1(t0_out) + rnorm(length(t0_out), 0, 0.1) + } > denseY <- list(Ly = denseLy, Lt = denseLt) > > ### functional predictor X(t) (adjust for t0_out) ### > denseLt <- list() > denseLy <- list() > for (i in 1:n){ + denseLt[[i]] <- t0_out + denseLy[[i]] <- denseX0$Ly[[i]][t0>=Lag] + } > denseX <- list(Ly = denseLy, + Lt = denseLt) > fit <- historyIndexDense(Y = denseY, X = list(X = denseX), Lag = Lag) Error: 'FLM1' is not an exported object from 'namespace:fdapace' Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.1.2
Check: examples
Result: ERROR Running examples in ‘fdaconcur-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: historyIndexDense > ### Title: Functional History Index Model > ### Aliases: historyIndexDense > > ### ** Examples > > set.seed(1) > ### functional covariate X(t) ### > phi1 <- function(t) sin(pi*t / 5) / sqrt(5) > phi2 <- function(t) cos(pi*t / 5) / sqrt(5) > lambdaX <- c(10, 5) > n <- 150 > N <- 101 > Xi <- matrix(rnorm(2*n), nrow = n, ncol = 2) > denseLt <- list() > denseLy <- list() > t0 <- seq(0, 15, length.out = N) > for (i in 1:n) { + denseLt[[i]] <- t0 + denseLy[[i]] <- lambdaX[1]*Xi[i, 1]*phi1(t0) + lambdaX[2]*Xi[i, 2]*phi2(t0) + } > denseX0 <- list(Ly = denseLy, Lt = denseLt) > > ### generate coefficient function gamma(u), beta(u) ### > Lag <- 5 > u0 <- t0[t0<=Lag] > t0_out <- t0[t0>=Lag] > gamma_u <- function(u) sqrt(2/5) * cos(pi * u /5) > beta_1 <- function(t) 5*sin(pi*t/10) > beta_0 <- function(t) t^2/2 > > ### functional response Y(t), t in t0_out ### > denseLt <- list() > denseLy <- list() > for (i in 1:n) { + denseLt[[i]] <- t0_out + Xt <- denseX0$Ly[[i]] + Xtu <- t(sapply((1:N)[t0>=Lag], function(j){ + rev(Xt[(j-length(u0)+1):j]) #history index for X[t-u:t] + })) + IntGammaXtu <- apply(Xtu, 1, function(v){ + fdapace::trapzRcpp(u0, gamma_u(u0) * v) + }) + #append 0 in the first length(u0)-1 element(useless info. in our modeling) + denseLy[[i]] <- beta_0(t0_out) + IntGammaXtu * beta_1(t0_out) + rnorm(length(t0_out), 0, 0.1) + } > denseY <- list(Ly = denseLy, Lt = denseLt) > > ### functional predictor X(t) (adjust for t0_out) ### > denseLt <- list() > denseLy <- list() > for (i in 1:n){ + denseLt[[i]] <- t0_out + denseLy[[i]] <- denseX0$Ly[[i]][t0>=Lag] + } > denseX <- list(Ly = denseLy, + Lt = denseLt) > fit <- historyIndexDense(Y = denseY, X = list(X = denseX), Lag = Lag) Error: 'FLM1' is not an exported object from 'namespace:fdapace' Execution halted Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.2
Check: dependencies in R code
Result: NOTE Unexported object imported by a ':::' call: ‘fdapace:::interp2lin’ See the note in ?`:::` about the use of this operator. Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64