Last updated on 2025-08-23 12:48:32 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.3.2 | 26.29 | 416.87 | 443.16 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.3.2 | 18.29 | 541.76 | 560.05 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.3.2 | 611.06 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.3.2 | 598.07 | OK | |||
r-devel-windows-x86_64 | 0.3.2 | 29.00 | 324.00 | 353.00 | OK | |
r-patched-linux-x86_64 | 0.3.2 | 29.06 | 394.11 | 423.17 | OK | |
r-release-linux-x86_64 | 0.3.2 | 26.59 | 386.97 | 413.56 | OK | |
r-release-macos-arm64 | 0.3.2 | 227.00 | OK | |||
r-release-macos-x86_64 | 0.3.2 | 253.00 | OK | |||
r-release-windows-x86_64 | 0.3.2 | 29.00 | 326.00 | 355.00 | OK | |
r-oldrel-macos-arm64 | 0.3.2 | 157.00 | OK | |||
r-oldrel-macos-x86_64 | 0.3.2 | 256.00 | OK | |||
r-oldrel-windows-x86_64 | 0.3.2 | 38.00 | 234.00 | 272.00 | ERROR |
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-oldrel-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-oldrel-windows-x86_64