CRAN Package Check Results for Maintainer ‘Niklas Koenen <niklas.koenen at gmail.com>’

Last updated on 2025-10-21 00:50:48 CEST.

Package ERROR NOTE OK
innsight 3 1 9

Package innsight

Current CRAN status: ERROR: 3, NOTE: 1, OK: 9

Version: 0.3.2
Check: HTML version of manual
Result: NOTE Found the following HTML validation problems: AgnosticWrapper.html:303:1 (AgnosticWrapper.Rd:220): Warning: missing </ul> before </div> AgnosticWrapper.html:280:1 (AgnosticWrapper.Rd:209): Warning: <h5> anchor "Usage" already defined AgnosticWrapper.html:286:1 (AgnosticWrapper.Rd:213): Warning: <h5> anchor "Arguments" already defined ConnectionWeights.html:259:1 (ConnectionWeights.Rd:315): Warning: <h5> anchor "Usage" already defined ConnectionWeights.html:265:1 (ConnectionWeights.Rd:319): Warning: <h5> anchor "Arguments" already defined ConvertedModel.html:248:1 (ConvertedModel.Rd:164): Warning: missing </ul> before </div> ConvertedModel.html:169:1 (ConvertedModel.Rd:109): Warning: <h4> anchor "Usage" already defined ConvertedModel.html:181:1 (ConvertedModel.Rd:120): Warning: <h4> anchor "Arguments" already defined ConvertedModel.html:210:1 (ConvertedModel.Rd:140): Warning: <h4> anchor "Return" already defined ConvertedModel.html:226:1 (ConvertedModel.Rd:153): Warning: <h4> anchor "Usage" already defined ConvertedModel.html:233:1 (ConvertedModel.Rd:158): Warning: <h4> anchor "Arguments" already defined Converter.html:295:1 (Converter.Rd:348): Warning: <h5> anchor "Usage" already defined Converter.html:301:1 (Converter.Rd:352): Warning: <h5> anchor "Returns" already defined Converter.html:318:1 (Converter.Rd:361): Warning: <h5> anchor "Usage" already defined Converter.html:324:1 (Converter.Rd:365): Warning: <h5> anchor "Arguments" already defined DeepLift.html:293:1 (DeepLift.Rd:344): Warning: <h5> anchor "Usage" already defined DeepLift.html:299:1 (DeepLift.Rd:348): Warning: <h5> anchor "Arguments" already defined DeepSHAP.html:295:1 (DeepSHAP.Rd:350): Warning: <h5> anchor "Usage" already defined DeepSHAP.html:301:1 (DeepSHAP.Rd:354): Warning: <h5> anchor "Arguments" already defined ExpectedGradient.html:283:1 (ExpectedGradient.Rd:334): Warning: <h5> anchor "Usage" already defined ExpectedGradient.html:289:1 (ExpectedGradient.Rd:338): Warning: <h5> anchor "Arguments" already defined Gradient.html:241:1 (Gradient.Rd:303): Warning: <h5> anchor "Usage" already defined Gradient.html:247:1 (Gradient.Rd:307): Warning: <h5> anchor "Arguments" already defined GradientBased.html:278:1 (GradientBased.Rd:185): Warning: missing </ul> before </div> GradientBased.html:255:1 (GradientBased.Rd:174): Warning: <h5> anchor "Usage" already defined GradientBased.html:261:1 (GradientBased.Rd:178): Warning: <h5> anchor "Arguments" already defined IntegratedGradient.html:294:1 (IntegratedGradient.Rd:344): Warning: <h5> anchor "Usage" already defined IntegratedGradient.html:300:1 (IntegratedGradient.Rd:348): Warning: <h5> anchor "Arguments" already defined InterpretingMethod.html:806:1 (InterpretingMethod.Rd:603): Warning: missing </ul> before </div> InterpretingMethod.html:385:1 (InterpretingMethod.Rd:282): Warning: <h5> anchor "Usage" already defined InterpretingMethod.html:391:1 (InterpretingMethod.Rd:286): Warning: <h5> anchor "Arguments" already defined InterpretingMethod.html:459:1 (InterpretingMethod.Rd:331): Warning: <h5> anchor "Usage" already defined InterpretingMethod.html:473:1 (InterpretingMethod.Rd:343): Warning: <h5> anchor "Arguments" already defined InterpretingMethod.html:562:1 (InterpretingMethod.Rd:419): Warning: <h5> anchor "Returns" already defined InterpretingMethod.html:611:1 (InterpretingMethod.Rd:453): Warning: <h5> anchor "Usage" already defined InterpretingMethod.html:627:1 (InterpretingMethod.Rd:467): Warning: <h5> anchor "Arguments" already defined InterpretingMethod.html:740:1 (InterpretingMethod.Rd:567): Warning: <h5> anchor "Returns" already defined InterpretingMethod.html:760:1 (InterpretingMethod.Rd:579): Warning: <h5> anchor "Usage" already defined InterpretingMethod.html:766:1 (InterpretingMethod.Rd:583): Warning: <h5> anchor "Returns" already defined InterpretingMethod.html:783:1 (InterpretingMethod.Rd:592): Warning: <h5> anchor "Usage" already defined InterpretingMethod.html:789:1 (InterpretingMethod.Rd:596): Warning: <h5> anchor "Arguments" already defined LIME.html:276:1 (LIME.Rd:319): Warning: <h5> anchor "Usage" already defined LIME.html:282:1 (LIME.Rd:323): Warning: <h5> anchor "Arguments" already defined LRP.html:341:1 (LRP.Rd:384): Warning: <h5> anchor "Usage" already defined LRP.html:347:1 (LRP.Rd:388): Warning: <h5> anchor "Arguments" already defined SHAP.html:268:1 (SHAP.Rd:309): Warning: <h5> anchor "Usage" already defined SHAP.html:274:1 (SHAP.Rd:313): Warning: <h5> anchor "Arguments" already defined SmoothGrad.html:262:1 (SmoothGrad.Rd:320): Warning: <h5> anchor "Usage" already defined SmoothGrad.html:268:1 (SmoothGrad.Rd:324): Warning: <h5> anchor "Arguments" already defined get_result.html:56:1 (get_result.Rd:16): Warning: missing </ul> before </div> innsight_plotly-print.html:74:1 (innsight_plotly-print.Rd:28): Warning: missing </ul> before </div> plot_global.html:56:1 (plot_global.Rd:16): Warning: missing </ul> before </div> Flavor: r-devel-linux-x86_64-debian-gcc

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()) Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, 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 Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64