Skip to content

Commit 7fa5311

Browse files
chore: cynkra's Spring Cleaning (#1644)
1 parent 3942eef commit 7fa5311

File tree

10 files changed

+45
-56
lines changed

10 files changed

+45
-56
lines changed

DESCRIPTION

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,19 @@
11
Package: tibble
22
Title: Simple Data Frames
33
Version: 3.3.0.9000
4-
Authors@R:
5-
c(person(given = "Kirill",
6-
family = "M\u00fcller",
7-
role = c("aut", "cre"),
8-
email = "[email protected]",
9-
comment = c(ORCID = "0000-0002-1416-3412")),
10-
person(given = "Hadley",
11-
family = "Wickham",
12-
role = "aut",
13-
email = "[email protected]"),
14-
person(given = "Romain",
15-
family = "Francois",
16-
role = "ctb",
17-
email = "[email protected]"),
18-
person(given = "Jennifer",
19-
family = "Bryan",
20-
role = "ctb",
21-
email = "[email protected]"),
22-
person("Posit Software, PBC", role = c("cph", "fnd"), comment = c(ROR = "03wc8by49")))
23-
Description: Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the traditional
24-
data frame.
4+
Authors@R: c(
5+
person("Kirill", "Müller", , "[email protected]", role = c("aut", "cre"),
6+
comment = c(ORCID = "0000-0002-1416-3412")),
7+
person("Hadley", "Wickham", , "[email protected]", role = "aut"),
8+
person("Romain", "Francois", , "[email protected]", role = "ctb"),
9+
person("Jennifer", "Bryan", , "[email protected]", role = "ctb"),
10+
person("Posit Software, PBC", role = c("cph", "fnd"),
11+
comment = c(ROR = "03wc8by49"))
12+
)
13+
Description: Provides a 'tbl_df' class (the 'tibble') with stricter
14+
checking and better formatting than the traditional data frame.
2515
License: MIT + file LICENSE
26-
URL: https://tibble.tidyverse.org/,
27-
https://github.com/tidyverse/tibble
16+
URL: https://tibble.tidyverse.org/, https://github.com/tidyverse/tibble
2817
BugReports: https://github.com/tidyverse/tibble/issues
2918
Depends:
3019
R (>= 3.4.0)
@@ -64,14 +53,14 @@ Suggests:
6453
withr
6554
VignetteBuilder:
6655
knitr
67-
Encoding: UTF-8
68-
Roxygen: list(markdown = TRUE)
69-
RoxygenNote: 7.3.2.9000
70-
Config/testthat/edition: 3
71-
Config/testthat/parallel: true
72-
Config/testthat/start-first: vignette-formats, as_tibble, add, invariants
56+
Config/autostyle/rmd: false
7357
Config/autostyle/scope: line_breaks
7458
Config/autostyle/strict: true
75-
Config/autostyle/rmd: false
7659
Config/Needs/website: tidyverse/tidytemplate
60+
Config/testthat/edition: 3
61+
Config/testthat/parallel: true
62+
Config/testthat/start-first: vignette-formats, as_tibble, add, invariants
7763
Config/usethis/last-upkeep: 2025-06-07
64+
Encoding: UTF-8
65+
Roxygen: list(markdown = TRUE)
66+
RoxygenNote: 7.3.2.9000

R/glimpse.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
#' @importFrom pillar glimpse
21
#' @export
32
pillar::glimpse

R/pipe.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
#' @importFrom magrittr %>%
21
#' @export
32
magrittr::`%>%`

R/print.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ trunc_mat <- function(x, n = NULL, width = NULL, n_extra = NULL) {
139139
structure(list(text = text, summary = list(NULL)), class = "trunc_mat")
140140
}
141141

142-
#' @importFrom pillar style_subtle
143142
#' @export
144143
format.trunc_mat <- function(x, width = NULL, ...) {
145144
unclass(x)[[1]]

R/tbl_df.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#' @importFrom methods setOldClass
21
#' @exportClass tbl_df
32
setOldClass(c("tbl_df", "tbl", "data.frame"))
43

R/tbl_sum.R

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
1-
#' @importFrom pillar tbl_sum
21
#' @export
32
pillar::tbl_sum
43

54
#' @export
6-
#' @importFrom pillar dim_desc
75
tbl_sum.tbl_df <- function(x, ...) {
86
c("A tibble" = dim_desc(x))
97
}
108

11-
#' @importFrom pillar obj_sum
129
#' @export
1310
pillar::obj_sum
1411

15-
#' @importFrom pillar type_sum
1612
#' @export
1713
pillar::type_sum
1814

19-
#' @importFrom pillar size_sum
2015
#' @export
2116
pillar::size_sum
2217

R/tibble-package.R

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
## usethis namespace: start
2+
#' @import rlang
23
#' @importFrom lifecycle deprecate_soft
3-
#' @importFrom lifecycle deprecate_warn
44
#' @importFrom lifecycle deprecate_stop
5+
#' @importFrom lifecycle deprecate_warn
56
#' @importFrom lifecycle expect_deprecated
7+
#' @importFrom magrittr %>%
8+
#' @importFrom methods setOldClass
9+
#' @importFrom pillar dim_desc
10+
#' @importFrom pillar glimpse
11+
#' @importFrom pillar obj_sum
12+
#' @importFrom pillar size_sum
13+
#' @importFrom pillar style_subtle
14+
#' @importFrom pillar tbl_sum
15+
#' @importFrom pillar type_sum
616
#' @importFrom pkgconfig set_config
717
#' @importFrom utils head tail
818
#' @importFrom vctrs new_data_frame
@@ -26,7 +36,6 @@
2636
#' @importFrom vctrs vec_set_names
2737
#' @importFrom vctrs vec_size
2838
#' @importFrom vctrs vec_slice
29-
#' @import rlang
3039
## usethis namespace: end
3140
NULL
3241

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ local({
4545
})
4646
```
4747

48-
# tibble <img src="man/figures/logo.png" align="right" alt="" />
48+
# tibble <img src="man/figures/logo.png" align="right" alt="Hexagonal logo for the R package ‘tibble’, styled with a sci-fi theme. The word ‘TIBBLE’ appears at the top in a futuristic font, and below it is a stylized table with colored bars resembling columns and rows, set against a starry space background." />
4949

5050
<!-- badges: start -->
5151
[![R-CMD-check](https://github.com/tidyverse/tibble/workflows/rcc/badge.svg)](https://github.com/tidyverse/tibble/actions)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<!-- README.md is generated from README.Rmd. Please edit that file -->
33

4-
# tibble <img src="man/figures/logo.png" align="right" alt="" />
4+
# tibble <img src="man/figures/logo.png" align="right" alt="Hexagonal logo for the R package ‘tibble’, styled with a sci-fi theme. The word ‘TIBBLE’ appears at the top in a futuristic font, and below it is a stylized table with colored bars resembling columns and rows, set against a starry space background." />
55

66
<!-- badges: start -->
77

@@ -54,17 +54,17 @@ Create a tibble from an existing object with `as_tibble()`:
5454
data <- data.frame(a = 1:3, b = letters[1:3], c = Sys.Date() - 1:3)
5555
data
5656
#> a b c
57-
#> 1 1 a 2025-03-18
58-
#> 2 2 b 2025-03-17
59-
#> 3 3 c 2025-03-16
57+
#> 1 1 a 2025-06-18
58+
#> 2 2 b 2025-06-17
59+
#> 3 3 c 2025-06-16
6060

6161
as_tibble(data)
6262
#> # A tibble: 3 × 3
6363
#> a b c
6464
#> <int> <chr> <date>
65-
#> 1 1 a 2025-03-18
66-
#> 2 2 b 2025-03-17
67-
#> 3 3 c 2025-03-16
65+
#> 1 1 a 2025-06-18
66+
#> 2 2 b 2025-06-17
67+
#> 3 3 c 2025-06-16
6868
```
6969

7070
This will work for reasonable inputs that are already data.frames,

index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55

6-
# tibble <img src="man/figures/logo.png" align="right" alt="" />
6+
# tibble <img src="man/figures/logo.png" align="right" alt="Hexagonal logo for the R package ‘tibble’, styled with a sci-fi theme. The word ‘TIBBLE’ appears at the top in a futuristic font, and below it is a stylized table with colored bars resembling columns and rows, set against a starry space background." />
77

88
<!-- badges: start -->
99
[![R-CMD-check](https://github.com/tidyverse/tibble/workflows/rcc/badge.svg)](https://github.com/tidyverse/tibble/actions)
@@ -47,17 +47,17 @@ Create a tibble from an existing object with `as_tibble()`:
4747
data <- data.frame(a = 1:3, b = letters[1:3], c = Sys.Date() - 1:3)
4848
data
4949
#> a b c
50-
#> 1 1 a 2025-03-18
51-
#> 2 2 b 2025-03-17
52-
#> 3 3 c 2025-03-16
50+
#> 1 1 a 2025-06-18
51+
#> 2 2 b 2025-06-17
52+
#> 3 3 c 2025-06-16
5353

5454
as_tibble(data)
5555
#> # A tibble: 3 × 3
5656
#> a b c
5757
#> <int> <chr> <date>
58-
#> [38;5;250m1[39m 1 a 2025-03-18
59-
#> [38;5;250m2[39m 2 b 2025-03-17
60-
#> [38;5;250m3[39m 3 c 2025-03-16
58+
#> [38;5;250m1[39m 1 a 2025-06-18
59+
#> [38;5;250m2[39m 2 b 2025-06-17
60+
#> [38;5;250m3[39m 3 c 2025-06-16
6161
```
6262

6363
This will work for reasonable inputs that are already data.frames, lists, matrices, or tables.

0 commit comments

Comments
 (0)