CRAN Package Check Results for Package midasINLA

Last updated on 2026-09-17 17:50:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-fedora-clang 0.1.0 53.00 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 58.76 ERROR
r-release-macos-x86_64 0.1.0 4.00 577.00 581.00 OK
r-oldrel-macos-arm64 0.1.0 1.00 31.00 32.00 OK
r-oldrel-macos-x86_64 0.1.0 3.00 72.00 75.00 OK

Check Details

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘midasINLA-Ex.R’ failed The error most likely occurred in: > ### Name: compute_beta_spatial > ### Title: Compute posterior summaries of MIDAS coefficients > ### Aliases: compute_beta_spatial > > ### ** Examples > > if (requireNamespace("INLA", quietly = TRUE)) { + INLA::inla.setOption(num.threads = 1) + + data(data_spatialpoisson_example) + + # Read the spatial adjacency graph + g <- INLA::inla.read.graph( + filename = system.file("map.adj", package = "midasINLA") + ) + + # Prepare a spatial MIDAS predictor + Midas_x1 <- prepare_Minla_spatial( + x = data_spatialpoisson_example$data_x1$x1, + loc_x = data_spatialpoisson_example$data_x1$loc, + constraint = "hyperbolic", + K = 0:29, + m = 30, + svc = TRUE, + svc_prior = "icar", + g = g + ) + + # Fit the spatial Poisson MIDAS model + fit <- fit_Minla_spatial( + formula = y ~ 1, + data = data_spatialpoisson_example$data_y, + loc_var = "loc", + time_var = "Time", + family = "poisson", + hf_input = list(Midas_x1), + inla_options = list( + verbose = FALSE, + control.predictor = list( + compute = TRUE, + link = 1 + ) + ) + ) + + # Compute posterior summaries of the MIDAS coefficients + beta_summary <- compute_beta_spatial( + model = fit, + n_loc = 16 + ) + + # Inspect summaries of the location-specific total coefficients + beta_summary$hf_index_1$summary.total.beta + } During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-clang/library/tools/libs/tools.so': /data/localhost/ripley/R/R-clang/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed *** inla.core.safe: The inla program failed, but will rerun in case better initial values may help. try=1/1 During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-clang/library/tools/libs/tools.so': /data/localhost/ripley/R/R-clang/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed Error in inla.core.safe(formula = formula, family = family, contrasts = contrasts, : The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully. If this does not help, please contact the developers at <help@r-inla.org>. The inla program failed and the maximum number of tries has been reached. Calls: fit_Minla_spatial -> do.call -> <Anonymous> -> inla.core.safe Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(midasINLA) > > test_check("midasINLA") During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-clang/library/tools/libs/tools.so': /data/localhost/ripley/R/R-clang/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed *** inla.core.safe: The inla program failed, but will rerun in case better initial values may help. try=1/1 During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-clang/library/tools/libs/tools.so': /data/localhost/ripley/R/R-clang/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed Saving _problems/test-functions-72.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-functions.R:62:3'): check workflow ───────────────────────────── Error in `inla.core.safe(formula = formula, family = family, contrasts = contrasts, data = data, quantiles = quantiles, E = E, offset = offset, scale = scale, weights = weights, Ntrials = Ntrials, strata = strata, lp.scale = lp.scale, link.covariates = link.covariates, verbose = verbose, lincomb = lincomb, selection = selection, control.compute = control.compute, control.predictor = control.predictor, control.family = control.family, control.inla = control.inla, control.fixed = control.fixed, control.mode = control.mode, control.expert = control.expert, control.hazard = control.hazard, control.lincomb = control.lincomb, control.update = control.update, control.lp.scale = control.lp.scale, control.pardiso = control.pardiso, control.stiles = control.stiles, control.taucs = control.taucs, control.numa = control.numa, only.hyperparam = only.hyperparam, inla.call = inla.call, inla.arg = inla.arg, num.threads = num.threads, keep = keep, working.directory = working.directory, silent = silent, inla.mode = inla.mode, safe = FALSE, debug = debug, .parent.frame = .parent.frame)`: The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully. If this does not help, please contact the developers at <help@r-inla.org>. The inla program failed and the maximum number of tries has been reached. Backtrace: ▆ 1. └─midasINLA::fit_Minla_spatial(...) at test-functions.R:62:3 2. ├─base::do.call(INLA::inla, args_inla) 3. └─INLA (local) `<fn>`(...) 4. └─INLA:::inla.core.safe(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘midasINLA.Rmd’ using rmarkdown During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-clang/library/tools/libs/tools.so': /data/localhost/ripley/R/R-clang/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-clang/library/tools/libs/tools.so': /data/localhost/ripley/R/R-clang/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed Quitting from midasINLA.Rmd:282-293 [fit-model] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `inla.core.safe()`: ! The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully. If this does not help, please contact the developers at <help@r-inla.org>. The inla program failed and the maximum number of tries has been reached. --- Backtrace: ▆ 1. └─midasINLA::fit_Minla_spatial(...) 2. ├─base::do.call(INLA::inla, args_inla) 3. └─INLA (local) `<fn>`(...) 4. └─INLA:::inla.core.safe(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'midasINLA.Rmd' failed with diagnostics: The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully. If this does not help, please contact the developers at <help@r-inla.org>. The inla program failed and the maximum number of tries has been reached. --- failed re-building ‘midasINLA.Rmd’ SUMMARY: processing the following file failed: ‘midasINLA.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘midasINLA-Ex.R’ failed The error most likely occurred in: > ### Name: compute_beta_spatial > ### Title: Compute posterior summaries of MIDAS coefficients > ### Aliases: compute_beta_spatial > > ### ** Examples > > if (requireNamespace("INLA", quietly = TRUE)) { + INLA::inla.setOption(num.threads = 1) + + data(data_spatialpoisson_example) + + # Read the spatial adjacency graph + g <- INLA::inla.read.graph( + filename = system.file("map.adj", package = "midasINLA") + ) + + # Prepare a spatial MIDAS predictor + Midas_x1 <- prepare_Minla_spatial( + x = data_spatialpoisson_example$data_x1$x1, + loc_x = data_spatialpoisson_example$data_x1$loc, + constraint = "hyperbolic", + K = 0:29, + m = 30, + svc = TRUE, + svc_prior = "icar", + g = g + ) + + # Fit the spatial Poisson MIDAS model + fit <- fit_Minla_spatial( + formula = y ~ 1, + data = data_spatialpoisson_example$data_y, + loc_var = "loc", + time_var = "Time", + family = "poisson", + hf_input = list(Midas_x1), + inla_options = list( + verbose = FALSE, + control.predictor = list( + compute = TRUE, + link = 1 + ) + ) + ) + + # Compute posterior summaries of the MIDAS coefficients + beta_summary <- compute_beta_spatial( + model = fit, + n_loc = 16 + ) + + # Inspect summaries of the location-specific total coefficients + beta_summary$hf_index_1$summary.total.beta + } During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-devel/library/tools/libs/tools.so': /data/localhost/ripley/R/R-devel/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed *** inla.core.safe: The inla program failed, but will rerun in case better initial values may help. try=1/1 During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-devel/library/tools/libs/tools.so': /data/localhost/ripley/R/R-devel/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed Error in inla.core.safe(formula = formula, family = family, contrasts = contrasts, : The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully. If this does not help, please contact the developers at <help@r-inla.org>. The inla program failed and the maximum number of tries has been reached. Calls: fit_Minla_spatial -> do.call -> <Anonymous> -> inla.core.safe Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/15s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(midasINLA) > > test_check("midasINLA") During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-devel/library/tools/libs/tools.so': /data/localhost/ripley/R/R-devel/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed *** inla.core.safe: The inla program failed, but will rerun in case better initial values may help. try=1/1 During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-devel/library/tools/libs/tools.so': /data/localhost/ripley/R/R-devel/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed Saving _problems/test-functions-72.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-functions.R:62:3'): check workflow ───────────────────────────── Error in `inla.core.safe(formula = formula, family = family, contrasts = contrasts, data = data, quantiles = quantiles, E = E, offset = offset, scale = scale, weights = weights, Ntrials = Ntrials, strata = strata, lp.scale = lp.scale, link.covariates = link.covariates, verbose = verbose, lincomb = lincomb, selection = selection, control.compute = control.compute, control.predictor = control.predictor, control.family = control.family, control.inla = control.inla, control.fixed = control.fixed, control.mode = control.mode, control.expert = control.expert, control.hazard = control.hazard, control.lincomb = control.lincomb, control.update = control.update, control.lp.scale = control.lp.scale, control.pardiso = control.pardiso, control.stiles = control.stiles, control.taucs = control.taucs, control.numa = control.numa, only.hyperparam = only.hyperparam, inla.call = inla.call, inla.arg = inla.arg, num.threads = num.threads, keep = keep, working.directory = working.directory, silent = silent, inla.mode = inla.mode, safe = FALSE, debug = debug, .parent.frame = .parent.frame)`: The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully. If this does not help, please contact the developers at <help@r-inla.org>. The inla program failed and the maximum number of tries has been reached. Backtrace: ▆ 1. └─midasINLA::fit_Minla_spatial(...) at test-functions.R:62:3 2. ├─base::do.call(INLA::inla, args_inla) 3. └─INLA (local) `<fn>`(...) 4. └─INLA:::inla.core.safe(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘midasINLA.Rmd’ using rmarkdown During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-devel/library/tools/libs/tools.so': /data/localhost/ripley/R/R-devel/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed During startup - There were 13 warnings (use warnings() to see them) Error: .onLoad failed in loadNamespace() for 'Rcpp', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/data/localhost/ripley/R/R-devel/library/tools/libs/tools.so': /data/localhost/ripley/R/R-devel/library/tools/libs/tools.so: undefined symbol: Rf_strchr_const In addition: Warning messages: 1: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 2: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 3: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" 4: In genericForBasic(f, mustFind = FALSE) : unrecognized internal function name "cumvar" *** ERROR *** rgeneric [initial] with model [.inla.rgeneric.model.hf_idx_1] failed Quitting from midasINLA.Rmd:282-293 [fit-model] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `inla.core.safe()`: ! The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully. If this does not help, please contact the developers at <help@r-inla.org>. The inla program failed and the maximum number of tries has been reached. --- Backtrace: ▆ 1. └─midasINLA::fit_Minla_spatial(...) 2. ├─base::do.call(INLA::inla, args_inla) 3. └─INLA (local) `<fn>`(...) 4. └─INLA:::inla.core.safe(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'midasINLA.Rmd' failed with diagnostics: The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully. If this does not help, please contact the developers at <help@r-inla.org>. The inla program failed and the maximum number of tries has been reached. --- failed re-building ‘midasINLA.Rmd’ SUMMARY: processing the following file failed: ‘midasINLA.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc