Last updated on 2025-10-31 13:51:23 CET.
| Package | ERROR | OK | 
|---|---|---|
| BKTR | 3 | 10 | 
Current CRAN status: ERROR: 3, OK: 10
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)
Flavor: r-devel-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.
Flavors: r-release-windows-x86_64, 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
Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64