CRAN Package Check Results for Package BKTR

Last updated on 2025-10-26 00:48:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 37.00 321.90 358.90 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 25.29 312.94 338.23 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 145.00 398.41 543.41 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 79.00 435.47 514.47 OK
r-devel-windows-x86_64 0.2.0 28.00 128.00 156.00 ERROR
r-patched-linux-x86_64 0.2.0 37.88 309.40 347.28 OK
r-release-linux-x86_64 0.2.0 35.20 299.11 334.31 OK
r-release-macos-arm64 0.2.0 14.00 85.00 99.00 OK
r-release-macos-x86_64 0.2.0 23.00 90.00 113.00 OK
r-release-windows-x86_64 0.2.0 30.00 131.00 161.00 ERROR
r-oldrel-macos-arm64 0.2.0 10.00 46.00 56.00 OK
r-oldrel-macos-x86_64 0.2.0 32.00 127.00 159.00 OK
r-oldrel-windows-x86_64 0.2.0 47.00 208.00 255.00 ERROR

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in 'BKTR-Ex.R' failed The error most likely occurred in: > ### Name: BKTRRegressor > ### Title: R6 class encapsulating the BKTR regression elements > ### Aliases: BKTRRegressor > > ### ** Examples > > ## Don't show: > if (torch::torch_is_installed()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + # Create a BIXI data collection instance containing multiple dataframes + bixi_data <- BixiData$new(is_light = TRUE) # Use light version for example + + # Create a BKTRRegressor instance + bktr_regressor <- BKTRRegressor$new( + formula = nb_departure ~ 1 + mean_temp_c + area_park, + data_df <- bixi_data$data_df, + spatial_positions_df = bixi_data$spatial_positions_df, + temporal_positions_df = bixi_data$temporal_positions_df, + burn_in_iter = 5, sampling_iter = 10) # For example only (too few iterations) + + # Launch the MCMC sampling + bktr_regressor$mcmc_sampling() + + # Get the summary of the bktr regressor + summary(bktr_regressor) + + # Get estimated response variables for missing values + bktr_regressor$imputed_y_estimates + + # Get the list of sampled betas for given spatial, temporal and feature labels + bktr_regressor$get_iterations_betas( + spatial_label = bixi_data$spatial_positions_df$location[1], + temporal_label = bixi_data$temporal_positions_df$time[1], + feature_label = 'mean_temp_c') + + # Get the summary of all betas for the 'mean_temp_c' feature + bktr_regressor$get_beta_summary_df(feature_labels = 'mean_temp_c') + ## Don't show: + }) # examplesIf > bixi_data <- BixiData$new(is_light = TRUE) > bktr_regressor <- BKTRRegressor$new(formula = nb_departure ~ 1 + mean_temp_c + + area_park, data_df <- bixi_data$data_df, spatial_positions_df = bixi_data$spatial_positions_df, + temporal_positions_df = bixi_data$temporal_positions_df, burn_in_iter = 5, sampling_iter = 10) Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.2.0
Check: whether package can be installed
Result: WARN Found the following significant warnings: Warning: Torch libraries are installed but loading them caused a segfault. Flavor: r-oldrel-windows-x86_64

Version: 0.2.0
Check: examples
Result: ERROR Running examples in 'BKTR-Ex.R' failed The error most likely occurred in: > ### Name: BKTRRegressor > ### Title: R6 class encapsulating the BKTR regression elements > ### Aliases: BKTRRegressor > > ### ** Examples > > ## Don't show: > if (torch::torch_is_installed()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + # Create a BIXI data collection instance containing multiple dataframes + bixi_data <- BixiData$new(is_light = TRUE) # Use light version for example + + # Create a BKTRRegressor instance + bktr_regressor <- BKTRRegressor$new( + formula = nb_departure ~ 1 + mean_temp_c + area_park, + data_df <- bixi_data$data_df, + spatial_positions_df = bixi_data$spatial_positions_df, + temporal_positions_df = bixi_data$temporal_positions_df, + burn_in_iter = 5, sampling_iter = 10) # For example only (too few iterations) + + # Launch the MCMC sampling + bktr_regressor$mcmc_sampling() + + # Get the summary of the bktr regressor + summary(bktr_regressor) + + # Get estimated response variables for missing values + bktr_regressor$imputed_y_estimates + + # Get the list of sampled betas for given spatial, temporal and feature labels + bktr_regressor$get_iterations_betas( + spatial_label = bixi_data$spatial_positions_df$location[1], + temporal_label = bixi_data$temporal_positions_df$time[1], + feature_label = 'mean_temp_c') + + # Get the summary of all betas for the 'mean_temp_c' feature + bktr_regressor$get_beta_summary_df(feature_labels = 'mean_temp_c') + ## Don't show: + }) # examplesIf > bixi_data <- BixiData$new(is_light = TRUE) > bktr_regressor <- BKTRRegressor$new(formula = nb_departure ~ 1 + mean_temp_c + + area_park, data_df <- bixi_data$data_df, spatial_positions_df = bixi_data$spatial_positions_df, + temporal_positions_df = bixi_data$temporal_positions_df, burn_in_iter = 5, sampling_iter = 10) Error in cpp_torch_float64() : Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Calls: <Anonymous> ... <Anonymous> -> <Anonymous> -> <Anonymous> -> cpp_torch_float64 Execution halted Flavor: r-oldrel-windows-x86_64