Last updated on 2026-03-08 09:51:36 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.6.2 | 13.08 | 218.79 | 231.87 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.6.2 | 7.76 | 138.70 | 146.46 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.6.2 | 22.00 | 326.51 | 348.51 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.6.2 | 23.00 | 377.58 | 400.58 | OK | |
| r-devel-macos-arm64 | 1.6.2 | 3.00 | 52.00 | 55.00 | OK | |
| r-devel-windows-x86_64 | 1.6.2 | 16.00 | 220.00 | 236.00 | OK | |
| r-patched-linux-x86_64 | 1.6.2 | 16.89 | 201.26 | 218.15 | OK | |
| r-release-linux-x86_64 | 1.6.2 | 10.53 | 200.74 | 211.27 | OK | |
| r-release-macos-arm64 | 1.6.2 | OK | ||||
| r-release-macos-x86_64 | 1.6.2 | 7.00 | 111.00 | 118.00 | OK | |
| r-release-windows-x86_64 | 1.6.2 | 17.00 | 210.00 | 227.00 | OK | |
| r-oldrel-macos-arm64 | 1.6.2 | NOTE | ||||
| r-oldrel-macos-x86_64 | 1.6.2 | 8.00 | 141.00 | 149.00 | NOTE | |
| r-oldrel-windows-x86_64 | 1.6.2 | 23.00 | 274.00 | 297.00 | NOTE |
Version: 1.6.2
Check: examples
Result: ERROR
Running examples in ‘clinDataReview-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: sunburstClinData
> ### Title: Sunburst interactive plot.
> ### Aliases: sunburstClinData
>
> ### ** Examples
>
> library(clinUtils)
>
> data(dataADaMCDISCP01)
> labelVars <- attr(dataADaMCDISCP01, "labelVars")
>
> dataAE <- dataADaMCDISCP01$ADAE
> dataDM <- dataADaMCDISCP01$ADSL
>
> ## example of basic sunburst:
>
> # sunburst takes as input table with counts
> if (requireNamespace("inTextSummaryTable", quietly = TRUE)) {
+
+ # total counts: Safety Analysis Set (patients with start date for the first treatment)
+ dataTotal <- subset(dataDM, RFSTDTC != "")
+
+ # compute adverse event table
+ tableAE <- inTextSummaryTable::getSummaryStatisticsTable(
+
+ data = dataAE,
+ rowVar = c("AESOC", "AEDECOD"),
+ dataTotal = dataTotal,
+ rowOrder = "total",
+ labelVars = labelVars,
+ stats = inTextSummaryTable::getStats("count"),
+
+ # plotly treemap requires records (rows) for each group
+ rowVarTotalInclude = "AEDECOD",
+ outputType = "data.frame-base"
+
+ )
+
+ dataSunburst <- tableAE
+
+ dataSunburst$n <- as.numeric(dataSunburst$n)
+
+ # create plot
+ sunburstClinData(
+ data = dataSunburst,
+ vars = c("AESOC", "AEDECOD"),
+ valueVar = "n",
+ valueLab = "Number of patients with adverse events"
+ )
+
+ ## example where sum(counts) of child = counts of parent
+
+ # counts of patients per arm/site
+ tableDM <- inTextSummaryTable::getSummaryStatisticsTable(
+ data = dataDM,
+ rowVar = c("ARM", "SITEID"),
+ labelVars = labelVars,
+ # plotly treemap requires records (rows) for each group
+ rowVarTotalInclude = "SITEID",
+ rowTotalInclude = TRUE,
+ outputType = "data.frame-base"
+ )
+ tableDM$statN <- as.numeric(tableDM$statN)
+
+ # create the plot
+ sunburstClinData(
+ data = tableDM,
+ vars = c("ARM", "SITEID"),
+ valueVar = "statN", valueLab = "Counts of patients",
+ valueType = "total",
+ caption = "The sectors are colored by category.",
+ subtitle = "Group: treatment and site"
+ )
+
+ }
Error in basename(x) : a character vector argument expected
Calls: <Anonymous> ... file_ext -> ifelse -> grepl -> is.factor -> basename
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
scatterplotClinData 7.351 0.148 7.705
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.6.2
Check: installed package size
Result: NOTE
installed size is 5.7Mb
sub-directories of 1Mb or more:
doc 4.3Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64