- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘deeptime/DESCRIPTION’ ... OK
- this is package ‘deeptime’ version ‘2.4.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘deeptime’ can be installed ... [12s/40s] OK
See the install log for details.
- checking installed package size ... INFO
installed size is 5.3Mb
sub-directories of 1Mb or more:
doc 3.1Mb
help 1.5Mb
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/5s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/5s] OK
- checking whether the package can be unloaded cleanly ... [2s/6s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/6s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/5s] OK
- checking loading without being on the library search path ... [1s/4s] OK
- checking whether startup messages can be suppressed ... [2s/5s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [8s/26s] OK
- checking Rd files ... [1s/2s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [18s/56s] ERROR
Running examples in ‘deeptime-Ex.R’ failed
The error most likely occurred in:
> ### Name: geom_text_clade
> ### Title: Label clades on a phylogenetic tree plotted with ggtree
> ### Aliases: geom_text_clade
>
> ### ** Examples
>
> library(ggplot2)
> ## Don't show:
> if (require(ggtree) && require(phytools)) withAutoprint({ # examplesIf
+ ## End(Don't show)
+ library(ggtree)
+ library(phytools)
+ data(primate.tree)
+ # single annotation
+ revts(ggtree(primate.tree)) +
+ geom_text_clade(label = "Hominoidea", node = 114, extend = c(0.1, 0.1)) +
+ coord_geo_radial()
+
+ # data frame of clade labels
+ clades.df <- data.frame(
+ clade = c("Lorisoidea", "Lemuroidea", "Tarsioidea", "Ceboidea",
+ "Cercopithecoidea", "Hominoidea"),
+ node = c(166, 146, 144, 120, 95, 114)
+ )
+ revts(ggtree(primate.tree)) %<+% clades.df +
+ geom_text_clade(aes(label = clade), extend = c(0.1, 0.1)) +
+ coord_geo_radial()
+
+ # display with other tip data
+ data(primate.data)
+ activity <- subset(primate.data, select = "Activity_pattern")
+ revts(gheatmap(ggtree(primate.tree), activity, offset = -70,
+ colnames = FALSE, width = 0.03, color = NA)) %<+% clades.df +
+ geom_text_clade(aes(label = clade), extend = c(0.1, 0.1),
+ position = position_nudge(x = 10)) +
+ coord_geo_radial()
+ ## Don't show:
+ }) # examplesIf
Loading required package: ggtree
ggtree v3.15.0 Learn more at https://yulab-smu.top/contribution-tree-data/
Please cite:
Guangchuang Yu. Data Integration, Manipulation and Visualization of
Phylogenetic Trees (1st edition). Chapman and Hall/CRC. 2022,
doi:10.1201/9781003279242, ISBN: 9781032233574
Loading required package: phytools
Loading required package: ape
Attaching package: ‘ape’
The following object is masked from ‘package:ggtree’:
rotate
Loading required package: maps
> library(ggtree)
> library(phytools)
> data(primate.tree)
> revts(ggtree(primate.tree)) + geom_text_clade(label = "Hominoidea", node = 114,
+ extend = c(0.1, 0.1)) + coord_geo_radial()
Warning in fortify(data, ...) : Arguments in `...` must be used.
✖ Problematic arguments:
• as.Date = as.Date
• yscale_mapping = yscale_mapping
• hang = hang
ℹ Did you misspell an argument name?
> clades.df <- data.frame(clade = c("Lorisoidea", "Lemuroidea", "Tarsioidea",
+ "Ceboidea", "Cercopithecoidea", "Hominoidea"), node = c(166, 146, 144, 120, 95,
+ 114))
> revts(ggtree(primate.tree)) %<+% clades.df + geom_text_clade(aes(label = clade),
+ extend = c(0.1, 0.1)) + coord_geo_radial()
Warning in fortify(data, ...) : Arguments in `...` must be used.
✖ Problematic arguments:
• as.Date = as.Date
• yscale_mapping = yscale_mapping
• hang = hang
ℹ Did you misspell an argument name?
> data(primate.data)
> activity <- subset(primate.data, select = "Activity_pattern")
> revts(gheatmap(ggtree(primate.tree), activity, offset = -70, colnames = FALSE,
+ width = 0.03, color = NA)) %<+% clades.df + geom_text_clade(aes(label = clade),
+ extend = c(0.1, 0.1), position = position_nudge(x = 10)) + coord_geo_radial()
Warning in fortify(data, ...) : Arguments in `...` must be used.
✖ Problematic arguments:
• as.Date = as.Date
• yscale_mapping = yscale_mapping
• hang = hang
ℹ Did you misspell an argument name?
Scale for y is already present.
Adding another scale for y, which will replace the existing scale.
Error: <ggtree> object properties are invalid:
- @mapping must be <ggplot2::mapping>, not S3<data.frame>
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [73s/250s] OK
Running ‘testthat.R’ [73s/249s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [98s/272s] OK
- checking PDF version of manual ... [11s/18s] OK
- DONE
Status: 1 ERROR