CRAN Package Check Results for Package expertsurv

Last updated on 2024-04-22 08:51:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 859.23 295.90 1155.13 NOTE
r-devel-linux-x86_64-debian-gcc 1.3.0 834.72 268.92 1103.64 NOTE
r-devel-linux-x86_64-fedora-clang 1.3.0 1523.38 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3.0 1889.97 ERROR
r-prerel-macos-arm64 1.3.0 344.00 NOTE
r-prerel-windows-x86_64 1.3.0 675.00 285.00 960.00 NOTE
r-patched-linux-x86_64 1.3.0 0.02 3.29 3.31 ERROR
r-release-linux-x86_64 1.3.0 716.05 353.97 1070.02 NOTE
r-release-macos-arm64 1.3.0 377.00 NOTE
r-release-macos-x86_64 1.3.0 493.00 NOTE
r-release-windows-x86_64 1.3.0 855.00 352.00 1207.00 NOTE
r-oldrel-macos-arm64 1.3.0 399.00 NOTE
r-oldrel-windows-x86_64 1.3.0 820.00 332.00 1152.00 NOTE

Check Details

Version: 1.3.0
Check: for GNU extensions in Makefiles
Result: NOTE GNU make is a SystemRequirements. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-prerel-macos-arm64, r-prerel-windows-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-windows-x86_64

Version: 1.3.0
Check: installed package size
Result: NOTE installed size is 10.3Mb sub-directories of 1Mb or more: doc 1.7Mb libs 7.0Mb Flavors: r-devel-linux-x86_64-fedora-clang, r-prerel-macos-arm64, r-prerel-windows-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-windows-x86_64

Version: 1.3.0
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘RcppParallel’ ‘rstantools’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.3.0
Check: examples
Result: ERROR Running examples in ‘expertsurv-Ex.R’ failed The error most likely occurred in: > ### Name: expertsurv-package > ### Title: Incorporating Expert Opinion with Parametric Survival Models > ### Aliases: expertsurv-package expertsurv > ### Keywords: Economic Evaluation Expert Health Modelling Opinion Survival > > ### ** Examples > > #Define expert opinion > require("dplyr") Loading required package: dplyr Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > param_expert_example1 <- list() > #1 timepoint and 2 experts with equal weight, > #first a normal distribution, second a non-standard t-distribution with > #3 degrees of freedom > > param_expert_example1[[1]] <- data.frame(dist = c("norm","t"), + wi = c(0.5,0.5), # Ensure Weights sum to 1 + param1 = c(0.1,0.12), + param2 = c(0.05,0.05), + param3 = c(NA,3)) > > > timepoint_expert <- 14 > > data2 <- data %>% rename(status = censored) %>% mutate(time2 = ifelse(time > 10, 10, time), + status2 = ifelse(time> 10, 0, status)) > > example1 <- fit.models.expert(formula=Surv(time2,status2)~1,data=data2, + distr=c("wph", "gomp"), + method="mle", + pool_type = "log pool", + opinion_type = "survival", + times_expert = timepoint_expert, + param_expert = param_expert_example1) Error in get(x, envir = ns, inherits = FALSE) : object 'deriv.test' not found Calls: fit.models.expert ... format_output_fit.models -> lapply -> lapply -> FUN -> runMLE Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.3.0
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-patched-linux-x86_64