CRAN Package Check Results for Package Publish

Last updated on 2024-11-13 01:49:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2023.01.17 13.98 123.60 137.58 NOTE
r-devel-linux-x86_64-debian-gcc 2023.01.17 8.11 85.94 94.05 NOTE
r-devel-linux-x86_64-fedora-clang 2023.01.17 223.24 OK
r-devel-linux-x86_64-fedora-gcc 2023.01.17 193.47 ERROR
r-devel-windows-x86_64 2023.01.17 13.00 136.00 149.00 NOTE
r-patched-linux-x86_64 2023.01.17 16.17 113.58 129.75 OK
r-release-linux-x86_64 2023.01.17 12.59 114.36 126.95 OK
r-release-macos-arm64 2023.01.17 54.00 OK
r-release-macos-x86_64 2023.01.17 93.00 OK
r-release-windows-x86_64 2023.01.17 12.00 135.00 147.00 OK
r-oldrel-macos-arm64 2023.01.17 59.00 OK
r-oldrel-macos-x86_64 2023.01.17 108.00 OK
r-oldrel-windows-x86_64 2023.01.17 17.00 170.00 187.00 OK

Check Details

Version: 2023.01.17
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: followupTable.Rd: anova.coxph specialFrame.Rd: model.design, strata, strip.terms stripes.Rd: plot.prodlim Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64

Version: 2023.01.17
Check: examples
Result: ERROR Running examples in ‘Publish-Ex.R’ failed The error most likely occurred in: > ### Name: publish.Score > ### Title: Publish predictive accuracy results > ### Aliases: publish.Score > > ### ** Examples > > if (requireNamespace("riskRegression",quietly=TRUE)){ + library(riskRegression) + library(survival) + learn = sampleData(100) + val= sampleData(100) + f1=CSC(Hist(time,event)~X1+X8,data=learn) + f2=CSC(Hist(time,event)~X1+X5+X6+X8,learn) + xs=Score(list(f1,f2),data=val,formula=Hist(time,event)~1) + publish(xs) + } riskRegression version 2023.12.21 Error in cbind(idxM, pidxM) : cannot get data pointer of 'NULL' objects Calls: sampleData ... exogenous<- -> exogenous<-.lvm -> reindex -> mat.lvm -> cbind Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2023.01.17
Check: tests
Result: ERROR Running ‘test-glmSeries.R’ Running ‘test-publish-gls.R’ Running ‘test-publish-mi.R’ [8s/11s] Running ‘test-publish.R’ Running ‘test-regressionTable.R’ Running ‘test-univariateTable.R’ Running the tests in ‘tests/test-publish-mi.R’ failed. Complete output: > library(testthat) > library(Publish) Loading required package: prodlim > library(mitools) > library(smcfcs) > library(riskRegression) riskRegression version 2023.12.21 > > test_that("multiple imputation",{ + set.seed(71) + d=sampleData(100) + ## generate missing values + d[X1==1,X6:=NA] + d[X2==1,X3:=NA] + d=d[,.(X8,X4,X3,X6,X7)] + sapply(d,function(x)sum(is.na(x))) + d[,X4:=factor(X4,levels=c("0","1"),labels=c("0","1"))] + set.seed(17) + f= smcfcs(d,smtype="lm",smformula=X8~X4*X3+X6+X7,method=c("","","logreg","norm",""),m=3) + ccfit=lm(X8~X4*X3+X6+X7,data=d) + impobj <- imputationList(f$impDatasets) + models <- with(impobj,lm(X8~X4*X3+X6+X7)) + mifit <- MIcombine(models) + a <- publish(mifit,fit=ccfit,data=d) + }) ── Error: multiple imputation ────────────────────────────────────────────────── Error in `cbind(idxM, pidxM)`: cannot get data pointer of 'NULL' objects Backtrace: ▆ 1. └─riskRegression::sampleData(100) 2. ├─lava::`distribution<-`(...) 3. └─lava:::`distribution<-.lvm`(...) 4. ├─lava::`addvar<-`(`*tmp*`, value = as.formula(paste("~", variable))) 5. └─lava:::`addvar<-.lvm`(...) 6. ├─lava::`regression<-`(`*tmp*`, ..., value = value) 7. └─lava:::`regression<-.lvm`(`*tmp*`, ..., value = value) 8. └─lava::procformula(object, value, ...) 9. ├─lava::`exogenous<-`(...) 10. └─lava:::`exogenous<-.lvm`(...) 11. └─lava::reindex(x) 12. └─lava:::mat.lvm(x, res) 13. └─base::cbind(idxM, pidxM) Error: ! Test failed Backtrace: ▆ 1. ├─testthat::test_that(...) 2. │ └─withr (local) `<fn>`() 3. └─reporter$stop_if_needed() 4. └─rlang::abort("Test failed", call = NULL) Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc