CRAN Package Check Results for Package Rtropical

Last updated on 2025-10-05 05:49:45 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 17.60 185.41 203.01 NOTE
r-devel-linux-x86_64-debian-gcc 1.2.1 12.08 137.37 149.45 NOTE
r-devel-linux-x86_64-fedora-clang 1.2.1 344.18 OK
r-devel-linux-x86_64-fedora-gcc 1.2.1 318.76 OK
r-devel-windows-x86_64 1.2.1 17.00 418.00 435.00 OK
r-patched-linux-x86_64 1.2.1 17.68 181.34 199.02 OK
r-release-linux-x86_64 1.2.1 16.61 183.66 200.27 OK
r-release-macos-arm64 1.2.1 230.00 OK
r-release-macos-x86_64 1.2.1 479.00 OK
r-release-windows-x86_64 1.2.1 18.00 416.00 434.00 OK
r-oldrel-macos-arm64 1.2.1 201.00 OK
r-oldrel-macos-x86_64 1.2.1 337.00 OK
r-oldrel-windows-x86_64 1.2.1 23.00 547.00 570.00 ERROR

Check Details

Version: 1.2.1
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Houjie Wang <wanghoujie6688@gmail.com>’ The Description field contains Wang, H. & Yoshida, R. (2020) <arXiv:2003.00677>. Details about Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.2.1
Check: examples
Result: ERROR Running examples in 'Rtropical-Ex.R' failed The error most likely occurred in: > ### Name: predict.tropsvm > ### Title: Predict Method for Tropical Support Vector Machines > ### Aliases: predict.tropsvm > > ### ** Examples > > > # data generation > library(Rfast) Loading required package: Rcpp Loading required package: zigg Loading required package: RcppParallel Attaching package: 'RcppParallel' The following object is masked from 'package:Rcpp': LdFlags Rfast: 2.1.5.1 ___ __ __ __ __ __ __ __ __ __ _ _ __ __ __ __ __ __ __ __ __ __ __ | __ __ __ __ | | __ __ __ __ _/ / \ | __ __ __ __ / /__ __ _ _ __ __\ | | | | | | / _ \ | | / / | | | | | | / / \ \ | | / / | | | | | | / / \ \ | | / / | |__ __ __ __| | | |__ __ __ __ / / \ \ | |__ __ __ __ _ / /__/\ | __ __ __ __| | __ __ __ __| / /__ _ __\ \ |_ __ __ __ _ | / ___ / | \ | | / _ _ _ _ _ _ \ | | \/ / / | |\ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \ | | / / \ \ | | / / | | \ \__ __ _ | | / / \ \ _ __ __ __ _| | / / |_| \__ __ __\ |_| /_/ \_\ /_ __ __ __ ___| \/ team > e <- 100 > n <- 10 > N <- 10 > s <- 5 > x <- rbind( + rmvnorm(n, mu = c(5, -5, rep(0, e - 2)), sigma = diag(s, e)), + rmvnorm(n, mu = c(-5, 5, rep(0, e - 2)), sigma = diag(s, e)) + ) > y <- as.factor(c(rep(1, n), rep(2, n))) > newx <- rbind( + rmvnorm(N, mu = c(5, -5, rep(0, e - 2)), sigma = diag(s, e)), + rmvnorm(N, mu = c(-5, 5, rep(0, e - 2)), sigma = diag(s, e)) + ) > newy <- as.factor(rep(c(1, 2), each = N)) > > # train the tropical svm > tropsvm_fit <- tropsvm(x, y, auto.assignment = TRUE, ind = 1) > > # test with new data > pred <- predict(tropsvm_fit, newx) > > # check with accuracy > table(pred, newy) newy pred 1 2 1 10 10 > > # compute testing accuracy > sum(pred == newy) / length(newy) Error in Ops.factor(pred, newy) : level sets of factors are different Execution halted Flavor: r-oldrel-windows-x86_64