diff --git a/DESCRIPTION b/DESCRIPTION index 92f4964..f47dbfb 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: data.tree Type: Package Title: General Purpose Hierarchical Data Structure -Version: 1.0.1 +Version: 1.1.0 Date: 2023-11-11 Authors@R: c( person( @@ -84,8 +84,8 @@ Description: Create tree structures from hierarchical data, and traverse the data.frame and more. Useful for decision trees, machine learning, finance, conversion from and to JSON, and many other applications. License: GPL (>= 2) -URL: http://github.com/gluc/data.tree -BugReports: http://github.com/gluc/data.tree/issues +URL: https://github.com/gluc/data.tree +BugReports: https://github.com/gluc/data.tree/issues Depends: R (>= 3.5) RoxygenNote: 7.2.3 diff --git a/R/node.R b/R/node.R index 6df68d8..78ca639 100644 --- a/R/node.R +++ b/R/node.R @@ -575,7 +575,7 @@ Node <- R6Class("Node", #' Set this as a list to a root node. #' The different formatters are h (horizontal), v (vertical), l (L), j (junction), and s (separator). #' For example, you can set the formatters to \code{list(h = "\u2500" , v = "\u2502", l = "\u2514", j = "\u251C", s = " ")} - #' to get a similar behaviour as in \code{fs::dir_tree()}. + #' to get a similar behavior as in \code{fs::dir_tree()}. #' The defaults are: \code{list(h = "--" , v = "\u00A6", l = "\u00B0", j = "\u00A6", s = " ")} printFormatters = function(value) { if (missing(value)) { diff --git a/data/acme.rda b/data/acme.rda index 6c4053b..961adb0 100644 Binary files a/data/acme.rda and b/data/acme.rda differ diff --git a/man/Node.Rd b/man/Node.Rd index 075363c..dbef32b 100644 --- a/man/Node.Rd +++ b/man/Node.Rd @@ -215,7 +215,7 @@ For more details see the \code{\link{data.tree}} documentations, or the \code{da Set this as a list to a root node. The different formatters are h (horizontal), v (vertical), l (L), j (junction), and s (separator). For example, you can set the formatters to \code{list(h = "\u2500" , v = "\u2502", l = "\u2514", j = "\u251C", s = " ")} -to get a similar behaviour as in \code{fs::dir_tree()}. +to get a similar behavior as in \code{fs::dir_tree()}. The defaults are: \code{list(h = "--" , v = "\u00A6", l = "\u00B0", j = "\u00A6", s = " ")}} \item{\code{parent}}{Gets or sets the parent \code{Node} of a \code{Node}. Only set this if you know what you are doing, as you might mess up the tree structure!} diff --git a/publish-cheat-sheet.md b/publish-cheat-sheet.md index de35033..8a0b121 100644 --- a/publish-cheat-sheet.md +++ b/publish-cheat-sheet.md @@ -12,9 +12,9 @@ Before a release, do the following: 11. Run devtools::check_rhub() 12. Run rhub::check_for_cran() -> if any of these fail, go back to 6.! -12. check reverse dependencies by running revdepcheck::revdep_check(, num_workers = 2, timeout = as.difftime(60, units="mins")) (from github if not yet published to CRAN devtools::install_github("r-lib/revdepcheck") -13. update cran-comments.md -14. merge into master and push -15. create release on github in master, tag it as pre-release -16. submit it to cran by calling devtools::release() -17. once accepted by CRAN, remove the pre-release flag on github +13. check reverse dependencies by running revdepcheck::revdep_check(, num_workers = 2, timeout = as.difftime(60, units="mins")) (from github if not yet published to CRAN devtools::install_github("r-lib/revdepcheck") +14. update cran-comments.md +15. merge into master and push +16. create release on github in master, tag it as pre-release +17. submit it to cran by calling devtools::release() +18. once accepted by CRAN, remove the pre-release flag on github