* using log directory ‘/srv/hornik/tmp/CRAN/HVT.Rcheck’ * using R Under development (unstable) (2023-10-24 r85407) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (15) GNU Fortran (Debian 13.2.0-4) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘HVT/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘HVT’ version ‘3.0.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘"Mu Sigma, Inc." ’ New submission Possibly misspelled words in DESCRIPTION: HVT (10:18) Heatmaps (5:9) Voronoi (4:34) Package has a VignetteBuilder field but no prebuilt vignette index. Size of tarball: 16657075 bytes * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘HVT’ can be installed ... [4s/4s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE File LICENSE is not mentioned in the DESCRIPTION file. Non-standard file/directory found at top level: ‘README.html’ * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [8s/8s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking files in ‘vignettes’ ... WARNING Files in the 'vignettes' directory but no files in 'inst/doc': ‘HVT.Rmd’ ‘HVT.html’ ‘HVT_model_diagnostics_vignette.Rmd’ ‘HVT_model_diagnostics_vignette.html’ ‘HVT_vignette.Rmd’ ‘HVT_vignette.html’ ‘Predicting_Cells_with_Layers_using_predictLayerHVT.Rmd’ ‘Predicting_Cells_with_Layers_using_predictLayerHVT.html’ ‘Testing.html’ ‘heatmaps/ads.png’ ‘heatmaps/hd.png’ ‘heatmaps/price.png’ ‘heatmaps/quant_error.png’ ‘heatmaps/ram.png’ ‘heatmaps/screen.png’ ‘heatmaps/speed.png’ ‘interactive.png’ ‘mlayer1.png’ ‘predictLayerHVT_function.png’ ‘predictLayerHVT_function_mapA.png’ ‘predictLayerHVT_function_mapB.png’ ‘predictLayerHVT_function_mapC.png’ ‘quant_explainer.png’ ‘reference.png’ ‘sample_dataset/Computers.csv’ ‘sample_dataset/hotel_data_test.csv’ ‘sample_dataset/hotel_data_train.csv’ ‘sample_dataset/testComputers.csv’ ‘sample_dataset/trainComputers.csv’ ‘torus.png’ ‘torus1.png’ ‘torus2.png’ ‘torus_donut.png’ * checking examples ... [12s/12s] ERROR Running examples in ‘HVT-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: predictLayerHVT > ### Title: Predict which cell and what level each point in the test dataset > ### belongs to > ### Aliases: predictLayerHVT > ### Keywords: predictLayer > > ### ** Examples > > data(USArrests) > > #Split in train and test > train <- USArrests[1:40,] > test <- USArrests[41:50,] > > hvt_mapA <- list() > hvt_mapA <- HVT(train, min_compression_perc = 70, quant.err = 0.2, + distance_metric = "L1_Norm", error_metric = "mean", + projection.scale = 10, normalize = TRUE, + quant_method="kmeans") [1] "For the given dataset 70% compression rate is achieved at n_cells : 17" > > > identified_outlier_cells <<- c(2, 10) > output_list <- removeNovelty(identified_outlier_cells, hvt_mapA) [1] "The following cell(s) have been removed as novelties from the dataset: 2 10" > > data_with_novelty <- output_list[[1]] > > hvt_mapB <- HVT(data_with_novelty ,n_cells = 3, quant.err = 0.2, + distance_metric = "L1_Norm", error_metric = "mean", + projection.scale = 10, normalize = TRUE, + quant_method="kmeans") Error in `select()`: ! Can't subset columns that don't exist. ✖ Column `Cell.ID` doesn't exist. Backtrace: ▆ 1. ├─HVT::HVT(...) 2. │ └─fin_out[[3]]$summary %>% ... 3. ├─dplyr::select(...) 4. ├─dplyr:::select.data.frame(...) 5. │ └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call) 6. │ └─tidyselect:::eval_select_impl(...) 7. │ ├─tidyselect:::with_subscript_errors(...) 8. │ │ └─rlang::try_fetch(...) 9. │ │ └─base::withCallingHandlers(...) 10. │ └─tidyselect:::vars_select_eval(...) 11. │ └─tidyselect:::walk_data_tree(expr, data_mask, context_mask) 12. │ └─tidyselect:::eval_c(expr, data_mask, context_mask) 13. │ └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init) 14. │ └─tidyselect:::walk_data_tree(new, data_mask, context_mask) 15. │ └─tidyselect:::as_indices_sel_impl(...) 16. │ └─tidyselect:::as_indices_impl(...) 17. │ └─tidyselect:::chr_as_locations(x, vars, call = call, arg = arg) 18. │ └─vctrs::vec_as_location(...) 19. └─vctrs (local) ``() 20. └─vctrs:::stop_subscript_oob(...) 21. └─vctrs:::stop_subscript(...) 22. └─rlang::abort(...) Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/1s] OK Running ‘testthat.R’ [1s/1s] * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING, 2 NOTEs