CRAN Package Check Results for Package innsight

Last updated on 2025-11-02 23:49:41 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 38.20 498.06 536.26 OK
r-devel-linux-x86_64-debian-gcc 0.3.2 25.19 671.70 696.89 OK
r-devel-linux-x86_64-fedora-clang 0.3.2 152.00 631.25 783.25 OK
r-devel-linux-x86_64-fedora-gcc 0.3.2 89.00 631.04 720.04 OK
r-devel-windows-x86_64 0.3.2 29.00 269.00 298.00 ERROR
r-patched-linux-x86_64 0.3.2 32.24 482.10 514.34 OK
r-release-linux-x86_64 0.3.2 35.41 481.93 517.34 OK
r-release-macos-arm64 0.3.2 15.00 212.00 227.00 OK
r-release-macos-x86_64 0.3.2 22.00 231.00 253.00 OK
r-release-windows-x86_64 0.3.2 25.00 202.00 227.00 OK
r-oldrel-macos-arm64 0.3.2 13.00 144.00 157.00 OK
r-oldrel-macos-x86_64 0.3.2 22.00 234.00 256.00 OK
r-oldrel-windows-x86_64 0.3.2 37.00 225.00 262.00 OK

Check Details

Version: 0.3.2
Check: examples
Result: ERROR Running examples in 'innsight-Ex.R' failed The error most likely occurred in: > ### Name: ConnectionWeights > ### Title: Connection weights method > ### Aliases: ConnectionWeights > > ### ** Examples > > ## Don't show: > if (torch::torch_is_installed()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + #----------------------- Example 1: Torch ---------------------------------- + library(torch) + + # Create nn_sequential model + model <- nn_sequential( + nn_linear(5, 12), + nn_relu(), + nn_linear(12, 1), + nn_sigmoid() + ) + + # Create Converter with input names + converter <- Converter$new(model, + input_dim = c(5), + input_names = list(c("Car", "Cat", "Dog", "Plane", "Horse")) + ) + + # You can also use the helper function for the initialization part + converter <- convert(model, + input_dim = c(5), + input_names = list(c("Car", "Cat", "Dog", "Plane", "Horse")) + ) + + # Apply method Connection Weights + cw <- ConnectionWeights$new(converter) + + # Again, you can use a helper function `run_cw()` for initializing + cw <- run_cw(converter) + + # Print the head of the result as a data.frame + head(get_result(cw, "data.frame"), 5) + + # Plot the result + plot(cw) + + #----------------------- Example 2: Neuralnet ------------------------------ + if (require("neuralnet")) { + library(neuralnet) + data(iris) + + # Train a Neural Network + nn <- neuralnet((Species == "setosa") ~ Petal.Length + Petal.Width, + iris, + linear.output = FALSE, + hidden = c(3, 2), act.fct = "tanh", rep = 1 + ) + + # Convert the trained model + converter <- convert(nn) + + # Apply the Connection Weights method + cw <- run_cw(converter) + + # Get the result as a torch tensor + get_result(cw, type = "torch.tensor") + + # Plot the result + plot(cw) + } + ## Don't show: + }) # examplesIf > library(torch) > model <- nn_sequential(nn_linear(5, 12), nn_relu(), nn_linear(12, 1), + nn_sigmoid()) Flavor: r-devel-windows-x86_64

Version: 0.3.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'Example_1_iris.Rmd' using rmarkdown --- re-building 'Example_2_penguin.Rmd' using rmarkdown --- re-building 'detailed_overview.Rmd' using rmarkdown --- re-building 'innsight.Rmd' using rmarkdown SUMMARY: processing the following files failed: 'Example_1_iris.Rmd' 'Example_2_penguin.Rmd' 'detailed_overview.Rmd' 'innsight.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64