Skip to content

Commit ec830cf

Browse files
committed
yulab_msg
1 parent ce1e734 commit ec830cf

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

DESCRIPTION

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: tidytree
22
Title: A Tidy Tool for Phylogenetic Tree Data Manipulation
3-
Version: 0.4.6
3+
Version: 0.4.6.002
44
Authors@R: c(
55
person("Guangchuang", "Yu", email = "[email protected]", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-6485-8781")),
66
person("Bradley", "Jones", email = "[email protected]", role = "ctb"),
@@ -19,7 +19,7 @@ Imports:
1919
tibble,
2020
tidyr,
2121
tidyselect,
22-
yulab.utils (>= 0.0.4),
22+
yulab.utils (>= 0.1.5),
2323
pillar,
2424
cli
2525
Suggests:
@@ -34,5 +34,5 @@ License: Artistic-2.0
3434
URL: https://www.amazon.com/Integration-Manipulation-Visualization-Phylogenetic-Computational-ebook/dp/B0B5NLZR1Z/
3535
BugReports: https://github.com/YuLab-SMU/tidytree/issues
3636
Encoding: UTF-8
37-
RoxygenNote: 7.3.1
37+
RoxygenNote: 7.3.2
3838
Roxygen: list(markdown = TRUE)

NAMESPACE

+1
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,4 @@ importFrom(tidyselect,eval_select)
194194
importFrom(utils,head)
195195
importFrom(utils,tail)
196196
importFrom(yulab.utils,str_wrap)
197+
importFrom(yulab.utils,yulab_msg)

NEWS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# tidytree 0.4.6.001
1+
# tidytree 0.4.6.002
22

3+
+ deprecate `random_ref()` and use `yulab.utils::yulab_msg()` (2024-07-26, Fri)
34
+ `Ntip()` method for 'treedataList' object (2024-04-08, Mon)
45

56
# tidytree 0.4.6

R/zzz.R

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
.onAttach <- function(...){
2-
ref <- random_ref()
3-
if (!is.null(ref)) packageStartupMessage(ref)
1+
##' @importFrom yulab.utils yulab_msg
2+
.onAttach <- function(libname, pkgname) {
3+
packageStartupMessage(yulab_msg(pkgname))
44
}
55

66

7+
# deprecated, for backward compatibility, 2024-07-26
78
#' @importFrom pillar style_subtle
89
random_ref <- function(pkgname = NULL, pkgVersion = NULL, random_n = 2){
910
if (!is.null(pkgname) && !is.null(pkgVersion)){

0 commit comments

Comments
 (0)