CRAN Package Check Results for Package BKTR

Last updated on 2025-08-23 18:48:21 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 25.37 234.00 259.37 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 19.56 285.63 305.19 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 410.05 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 429.42 OK
r-devel-windows-x86_64 0.2.0 26.00 146.00 172.00 OK
r-patched-linux-x86_64 0.2.0 28.30 229.10 257.40 OK
r-release-linux-x86_64 0.2.0 24.48 226.66 251.14 OK
r-release-macos-arm64 0.2.0 99.00 OK
r-release-macos-x86_64 0.2.0 113.00 OK
r-release-windows-x86_64 0.2.0 28.00 154.00 182.00 OK
r-oldrel-macos-arm64 0.2.0 56.00 OK
r-oldrel-macos-x86_64 0.2.0 159.00 OK
r-oldrel-windows-x86_64 0.2.0 35.00 156.00 191.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) Flavor: r-oldrel-windows-x86_64

mirror server hosted at Truenetwork, Russian Federation.