ropensci / restez

:sleeping: :open_file_folder: Create and Query a Local Copy of GenBank in R
https://docs.ropensci.org/restez
Other
25 stars 5 forks source link

`gb_df_generate` can't be found #54

Closed cbird808 closed 11 months ago

cbird808 commented 1 year ago

I installed the version from cran today, then the newest from github, same result both ways.

I'm running R version 4.3.1

> gb_df_generate(records)
Error in gb_df_generate(records) : 
  could not find function "gb_df_generate"
> gb_extract(record = records[1], what = 'locus')
    accession        length           mol          type        domain          date 
   "ON724230"         "670"         "DNA"      "linear"         "VRT" "23-JUL-2023" 
> version
               _                                
platform       x86_64-w64-mingw32               
arch           x86_64                           
os             mingw32                          
crt            ucrt                             
system         x86_64, mingw32                  
status                                          
major          4                                
minor          3.1                              
year           2023                             
month          06                               
day            16                               
svn rev        84548                            
language       R                                
version.string R version 4.3.1 (2023-06-16 ucrt)
nickname       Beagle Scouts  
joelnitta commented 11 months ago

gb_df_generate() is an internal function that is not meant to be accessed by general users. If you really want to use it, you can do so with restez:::gb_df_generate().

If you are trying to make a local database, you probably want db_create.