CRAN Package Check Results for Package expertsurv

Last updated on 2024-05-07 10:55:57 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 871.01 286.84 1157.85 ERROR
r-devel-linux-x86_64-debian-gcc 1.3.0 826.29 257.33 1083.62 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.0 1454.23 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3.0 1407.33 ERROR
r-devel-windows-x86_64 1.3.0 701.00 269.00 970.00 ERROR
r-patched-linux-x86_64 1.3.0 697.53 330.87 1028.40 ERROR
r-release-linux-x86_64 1.3.0 779.73 329.22 1108.95 ERROR
r-release-macos-arm64 1.3.0 344.00 NOTE
r-release-windows-x86_64 1.3.0 681.00 261.00 942.00 ERROR
r-oldrel-macos-arm64 1.3.0 377.00 NOTE
r-oldrel-macos-x86_64 1.3.0 493.00 NOTE
r-oldrel-windows-x86_64 1.3.0 874.00 335.00 1209.00 ERROR

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-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.3.0
Check: examples
Result: ERROR Running examples in ‘expertsurv-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-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-devel-windows-x86_64, r-release-macos-arm64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, 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, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64