CRAN Package Check Results for Package DistributionIV

Last updated on 2025-06-29 06:56:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 6.13 4.95 11.08 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.2 5.59 3.80 9.39 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 255.40 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.2 242.58 OK
r-devel-windows-x86_64 0.1.2 13.00 121.00 134.00 ERROR
r-patched-linux-x86_64 ERROR
r-release-linux-x86_64 0.1.2 6.48 4.62 11.10 ERROR
r-release-macos-arm64 0.1.0 32.00 OK
r-release-macos-x86_64 0.1.2 70.00 OK
r-release-windows-x86_64 0.1.0 8.00 108.00 116.00 OK
r-oldrel-macos-arm64 0.1.0 33.00 OK
r-oldrel-macos-x86_64 0.1.2 74.00 OK
r-oldrel-windows-x86_64 0.1.2 10.00 133.00 143.00 ERROR

Check Details

Version: 0.1.0
Check: whether the package can be loaded
Result: ERROR Loading this package had a fatal error status code 1 Loading log: Error: package or namespace load failed for ‘DistributionIV’: .onLoad failed in loadNamespace() for 'torch', details: call: inst_path() error: torch cannot write into '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/torch/'. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.2
Check: whether the package can be loaded
Result: ERROR Loading this package had a fatal error status code 1 Loading log: Error: package or namespace load failed for ‘DistributionIV’: .onLoad failed in loadNamespace() for 'torch', details: call: inst_path() error: torch cannot write into '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/torch/'. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘vctrs’ All declared Imports should be used. Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.2
Check: tests
Result: ERROR Running 'testthat.R' [14s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(DistributionIV) > > test_check("DistributionIV") OMP: Warning #96: Cannot form a team with 48 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). DIV object with noise dimensions (for shared noise eps_H, and for indep. noise eps_X and eps_Y): (50,50,50) hidden dimensions: 100 number of layers: 3 number of epochs: 20 learning rate: 0.001 standardization: TRUE Training loss: epoch Energy loss E(||U-Uhat||) E(||Uhat-Uhat'||) 1 0.866 1.44 1.15 2 0.811 1.41 1.19 4 0.837 1.60 1.52 6 0.938 1.80 1.73 8 0.866 1.85 1.96 10 0.920 1.89 1.94 12 0.869 1.92 2.10 14 0.872 2.00 2.25 16 0.878 2.03 2.29 18 0.970 2.00 2.06 20 0.927 2.04 2.23 Prediction-loss E(||U-Uhat||) and variance-loss E(||Uhat-Uhat'||) should ideally be equally large -- consider training for more epochs if there is a mismatch. [ FAIL 2 | WARN 0 | SKIP 0 | PASS 21 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-predict.DIV.R:20:3'): Vector of mean values of proper length returned ── <rlib_error_package_not_found/rlang_error/error/condition> Error in `expect_vector(predict(div_modelnoW, Xtest = matrix(rnorm(40, mean = 2), ncol = 1)), size = 40)`: The package "vctrs" is required. Backtrace: ▆ 1. └─testthat::expect_vector(...) at test-predict.DIV.R:20:3 2. └─rlang::check_installed("vctrs") ── Error ('test-predict.DIV.R:37:3'): Vector of quantile values of proper length returned ── <rlib_error_package_not_found/rlang_error/error/condition> Error in `expect_vector(predict(div_modelnoW, Xtest = matrix(rnorm(40, mean = 2), ncol = 1), type = "quantile", nsample = 200, quantiles = 0.05), size = 40)`: The package "vctrs" is required. Backtrace: ▆ 1. └─testthat::expect_vector(...) at test-predict.DIV.R:37:3 2. └─rlang::check_installed("vctrs") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 21 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.0
Check: whether the package can be loaded
Result: ERROR Loading this package had a fatal error status code 1 Loading log: Error: package or namespace load failed for ‘DistributionIV’: .onLoad failed in loadNamespace() for 'torch', details: call: inst_path() error: torch cannot write into '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/torch/'. Execution halted Flavor: r-patched-linux-x86_64

Version: 0.1.2
Check: whether the package can be loaded
Result: ERROR Loading this package had a fatal error status code 1 Loading log: Error: package or namespace load failed for ‘DistributionIV’: .onLoad failed in loadNamespace() for 'torch', details: call: inst_path() error: torch cannot write into '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/torch/'. Execution halted Flavor: r-release-linux-x86_64

Version: 0.1.2
Check: tests
Result: ERROR Running 'testthat.R' [23s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(DistributionIV) > > test_check("DistributionIV") OMP: Warning #96: Cannot form a team with 28 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). DIV object with noise dimensions (for shared noise eps_H, and for indep. noise eps_X and eps_Y): (50,50,50) hidden dimensions: 100 number of layers: 3 number of epochs: 20 learning rate: 0.001 standardization: TRUE Training loss: epoch Energy loss E(||U-Uhat||) E(||Uhat-Uhat'||) 1 0.931 1.39 0.923 2 0.882 1.44 1.110 4 0.918 1.57 1.310 6 0.919 1.67 1.500 8 0.941 1.74 1.610 10 0.910 1.84 1.870 12 0.931 1.92 1.980 14 0.923 2.07 2.300 16 1.060 2.08 2.020 18 0.972 2.11 2.290 20 0.803 1.91 2.220 Prediction-loss E(||U-Uhat||) and variance-loss E(||Uhat-Uhat'||) should ideally be equally large -- consider training for more epochs if there is a mismatch. [ FAIL 2 | WARN 0 | SKIP 0 | PASS 21 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-predict.DIV.R:20:3'): Vector of mean values of proper length returned ── <rlib_error_package_not_found/rlang_error/error/condition> Error in `expect_vector(predict(div_modelnoW, Xtest = matrix(rnorm(40, mean = 2), ncol = 1)), size = 40)`: The package "vctrs" is required. Backtrace: ▆ 1. └─testthat::expect_vector(...) at test-predict.DIV.R:20:3 2. └─rlang::check_installed("vctrs") ── Error ('test-predict.DIV.R:37:3'): Vector of quantile values of proper length returned ── <rlib_error_package_not_found/rlang_error/error/condition> Error in `expect_vector(predict(div_modelnoW, Xtest = matrix(rnorm(40, mean = 2), ncol = 1), type = "quantile", nsample = 200, quantiles = 0.05), size = 40)`: The package "vctrs" is required. Backtrace: ▆ 1. └─testthat::expect_vector(...) at test-predict.DIV.R:37:3 2. └─rlang::check_installed("vctrs") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 21 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64