Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect documentation: name_backbone() gives a tibble not a data frame #650

Open
oharar opened this issue May 24, 2023 · 1 comment
Open

Comments

@oharar
Copy link

oharar commented May 24, 2023

The help page says for name_backbone() says it returns a data frame, but in reality it's returning a tibble object:

name_backbone(name='Helianthus annuus', kingdom='plants')
?name_backbone

Trivial but irksome.

Session Info
R version 4.2.1 (2022-06-23)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.6.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] rgbif_3.7.7

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.9        highr_0.10        pillar_1.8.1      compiler_4.2.1    plyr_1.8.8       
 [6] tools_4.2.1       jsonlite_1.8.4    lifecycle_1.0.3   tibble_3.1.8      gtable_0.3.1     
[11] pkgconfig_2.0.3   rlang_1.0.6       DBI_1.1.3         cli_3.5.0         rstudioapi_0.14  
[16] crul_1.3          curl_4.3.3        xfun_0.36         knitr_1.41        dplyr_1.0.10     
[21] httr_1.4.4        stringr_1.5.0     xml2_1.3.3        generics_0.1.3    vctrs_0.5.1      
[26] triebeard_0.4.1   grid_4.2.1        tidyselect_1.2.0  httpcode_0.3.0    glue_1.6.2       
[31] data.table_1.14.6 R6_2.5.1          oai_0.4.0         fansi_1.0.3       ggplot2_3.4.0    
[36] magrittr_2.0.3    whisker_0.4.1     urltools_1.7.3    scales_1.2.1      assertthat_0.2.1 
[41] colorspace_2.0-3  utf8_1.2.2        stringi_1.7.8     lazyeval_0.2.2    munsell_0.5.0    
@jhnwllr
Copy link
Collaborator

jhnwllr commented May 25, 2023

Thanks @oharar. I am sure this casual usage of data.frame and tibble found elsewhere in the docs. I will try to clean it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants