pkgdown
pkgdown copied to clipboard
Tibble fails to parse usage
Because of
\method{as_tibble}{`NULL`}(x, ...)
Reprex:
pkgdown::init_site("~/git/R/tibble")
#> Warning: Failed to parse usage:
#>
#> as_tibble(
#> x,
#> ...,
#> .rows = NULL,
#> .name_repair = c("check_unique", "unique", "universal", "minimal"),
#> rownames = pkgconfig::get_config("tibble::rownames", NULL)
#> )
#>
#> S3method(`as_tibble`, `data.frame`)(
#> x,
#> validate = NULL,
#> ...,
#> .rows = NULL,
#> .name_repair = c("check_unique", "unique", "universal", "minimal"),
#> rownames = pkgconfig::get_config("tibble::rownames", NULL)
#> )
#>
#> S3method(`as_tibble`, `list`)(
#> x,
#> validate = NULL,
#> ...,
#> .rows = NULL,
#> .name_repair = c("check_unique", "unique", "universal", "minimal")
#> )
#>
#> S3method(`as_tibble`, `matrix`)(x, ..., validate = NULL, .name_repair = NULL)
#>
#> S3method(`as_tibble`, `table`)(x, `_n` = "n", ..., n = `_n`, .name_repair = "check_unique")
#>
#> S3method(`as_tibble`, ``NULL``)(x, ...)
#>
#> S3method(`as_tibble`, `default`)(x, ...)
#>
#> as_tibble_row(
#> x,
#> .name_repair = c("check_unique", "unique", "universal", "minimal")
#> )
#>
#> as_tibble_col(x, column_name = "value")
#> -- Initialising site -----------------------------------------------------------
#> Copying '../../../Library/R/arm64/4.1/library/pkgdown/BS5/assets/link.svg' to 'link.svg'
#> Copying '../../../Library/R/arm64/4.1/library/pkgdown/BS5/assets/pkgdown.js' to 'pkgdown.js'
#> Copying 'pkgdown/favicon/apple-touch-icon-120x120.png' to 'apple-touch-icon-120x120.png'
#> Copying 'pkgdown/favicon/apple-touch-icon-152x152.png' to 'apple-touch-icon-152x152.png'
#> Copying 'pkgdown/favicon/apple-touch-icon-180x180.png' to 'apple-touch-icon-180x180.png'
#> Copying 'pkgdown/favicon/apple-touch-icon-60x60.png' to 'apple-touch-icon-60x60.png'
#> Copying 'pkgdown/favicon/apple-touch-icon-76x76.png' to 'apple-touch-icon-76x76.png'
#> Copying 'pkgdown/favicon/apple-touch-icon.png' to 'apple-touch-icon.png'
#> Copying 'pkgdown/favicon/favicon-16x16.png' to 'favicon-16x16.png'
#> Copying 'pkgdown/favicon/favicon-32x32.png' to 'favicon-32x32.png'
#> Copying 'pkgdown/favicon/favicon.ico' to 'favicon.ico'
#> Copying 'man/figures/logo.svg' to 'logo.svg'
Created on 2022-06-30 by the reprex package (v2.0.1)
Does this belong in roxygen2 instead? I worked around in tibble: https://github.com/tidyverse/tibble/pull/1369.