GNU make is a SystemRequirements.
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
GNU make is a SystemRequirements.
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
installed size is 10.3Mb
  sub-directories of 1Mb or more:
    doc    1.7Mb
    libs   7.0Mb
Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
GNU make is a SystemRequirements.
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
Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
GNU make is a SystemRequirements.
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
installed size is  9.0Mb
  sub-directories of 1Mb or more:
    doc    1.7Mb
    libs   5.7Mb
GNU make is a SystemRequirements.
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
GNU make is a SystemRequirements.
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
GNU make is a SystemRequirements.
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
installed size is 106.5Mb
  sub-directories of 1Mb or more:
    doc     1.7Mb
    libs  103.2Mb
GNU make is a SystemRequirements.
installed size is  9.0Mb
  sub-directories of 1Mb or more:
    doc    1.7Mb
    libs   5.7Mb
GNU make is a SystemRequirements.
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
installed size is 95.2Mb
  sub-directories of 1Mb or more:
    doc    1.7Mb
    libs  92.0Mb
GNU make is a SystemRequirements.
installed size is 97.0Mb
  sub-directories of 1Mb or more:
    doc    1.7Mb
    libs  93.7Mb
GNU make is a SystemRequirements.
installed size is  8.9Mb
  sub-directories of 1Mb or more:
    doc    1.7Mb
    libs   5.7Mb
GNU make is a SystemRequirements.
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