Running examples in 'gplm-Ex.R' failed
The error occurred in:


R version 4.1.2 (2021-11-01) -- "Bird Hippie"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> pkgname <- "gplm"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> options(pager = "console")
> library('gplm')
Loading required package: AER
Loading required package: car
Loading required package: carData
Loading required package: lmtest
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: sandwich
Loading required package: survival
Warning: S3 methods '[.aareg', '[.Surv', '[.Surv2', '[.cox.zph', '[.coxph.penalty', '[.ratetable', '[.survfit', '[.survfitms', '[.tcut', '[.tmerge', 'Math.Surv', 'Math.Surv2', 'Math.ratetable', 'Ops.Surv', 'Ops.Surv2', 'Ops.ratetable', 'Summary.Surv', 'Summary.Surv2', 'anyDuplicated.Surv', 'anyDuplicated.Surv2', 'anova.coxph', 'anova.coxphlist', 'anova.survreg', 'anova.survreglist', 'aggregate.survfit', 'as.character.Surv', 'as.character.Surv2', 'as.data.frame.Surv', 'as.data.frame.Surv2', 'as.integer.Surv', 'as.integer.Surv2', 'as.logical.Surv', 'as.logical.Surv2', 'as.matrix.ratetable', 'as.matrix.Surv', 'as.matrix.Surv2', 'as.numeric.Surv', 'as.numeric.Surv2', 'attrassign.default', 'attrassign.lm', 'barplot.Surv', 'c.Surv', 'c.Surv2', 'coef.concordance', 'coef.coxphms', 'concordance.formula', 'concordance.lm', 'concordance.coxph', 'concordance.survreg', 'density.Surv', 'dim.survfit', 'duplicated.Surv', 'duplicated.Surv2', 'extractAIC.coxph.penal', 'fitted.coxph', 'fitted.survreg', 'format.Su [... truncated]
Error: package or namespace load failed for 'survival' in find.package(package, lib.loc, verbose = verbose):
 there is no package called 'survival'
Error: package 'survival' could not be loaded
Execution halted