CRAN Package Check Results for Maintainer ‘Julien Lanthier <julien.lanthier at hec.ca>’

Last updated on 2025-08-30 03:50:06 CEST.

Package ERROR OK
BKTR 2 11

Package BKTR

Current CRAN status: ERROR: 2, OK: 11

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-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.