CRAN Package Check Results for Package realTimeloads

Last updated on 2024-06-17 00:50:09 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 16.14 185.45 201.59 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 14.33 142.04 156.37 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 261.55 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 264.70 OK
r-devel-windows-x86_64 1.0.0 17.00 135.00 152.00 OK
r-patched-linux-x86_64 1.0.0 16.19 180.03 196.22 OK
r-release-linux-x86_64 1.0.0 17.28 184.13 201.41 OK
r-release-macos-arm64 1.0.0 56.00 ERROR
r-release-macos-x86_64 1.0.0 101.00 OK
r-release-windows-x86_64 1.0.0 17.00 137.00 154.00 OK
r-oldrel-macos-arm64 1.0.0 60.00 ERROR
r-oldrel-macos-x86_64 1.0.0 99.00 OK
r-oldrel-windows-x86_64 1.0.0 23.00 166.00 189.00 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘realTimeloads-Ex.R’ failed The error most likely occurred in: > ### Name: impute_data > ### Title: Returns x with gaps imputed using ARIMA and Decision Trees, > ### optional uncertainty estimation using Monte Carlo resampling > ### Aliases: impute_data > > ### ** Examples > > # Impute non-tidal data > time <- realTimeloads::ExampleData$Sediment_Samples$time > xo <- realTimeloads::ExampleData$Sediment_Samples$SSCxs_mg_per_liter > Q <- realTimeloads::ExampleData$Discharge$Discharge_m_cubed_per_s > idata <- sample(1:length(xo),round(length(xo)*0.5),replace=FALSE) > x <- rep(NA,length(xo)) > x[idata] <- xo[idata] # simulated samples > flow_concentrtion_ratio <- imputeTS::na_interpolation(Q/x) > Xreg <- cbind(Q,flow_concentrtion_ratio) > Output <- impute_data(time,x,Xreg,MC = 10,ptrain = 0.8) Error in optim(init[mask], getLike, method = "L-BFGS-B", lower = rep(0, : L-BFGS-B needs finite values of 'fn' Calls: impute_data -> <Anonymous> -> <Anonymous> -> optim Execution halted Flavors: r-release-macos-arm64, r-oldrel-macos-arm64