Report to console current setup status of restez.

restez_status(gb_check = FALSE)

Arguments

gb_check

Check whether last download was from latest GenBank release? Default FALSE.

Value

Status class

Details

Always remember to run restez_connect before running this function. Set gb_check=TRUE to see if your downloads are up-to-date.

See also

Examples

library(restez) fp <- tempdir() restez_path_set(filepath = fp)
#> ... Creating '/var/folders/ps/g89999v12490dmp0jnsfmykm0043m3/T//Rtmp6jFXFa/restez' #> ... Creating '/var/folders/ps/g89999v12490dmp0jnsfmykm0043m3/T//Rtmp6jFXFa/restez/downloads'
#> Remember to run `restez_disconnect()`
restez_status()
#> Checking setup status at ... #> ─────────────────────────────────────────────────────────────────────────────────────────────── #> Restez path ... #> ... Path '/var/folders/ps/g89999v12490dmp0jnsfmykm0043m3/T//Rtmp6jFXFa/restez' #> ... Does path exist? 'Yes' #> ─────────────────────────────────────────────────────────────────────────────────────────────── #> Download ... #> ... Path '/var/folders/ps/g89999v12490dmp0jnsfmykm0043m3/T//Rtmp6jFXFa/restez/downloads' #> ... Does path exist? 'Yes' #> ... N. files 0 #> ... N. GBs 0 #> ... GenBank division selections '' #> ... GenBank Release '0' #> ... Last updated '' #> ─────────────────────────────────────────────────────────────────────────────────────────────── #> Database ... #> ... Path '/var/folders/ps/g89999v12490dmp0jnsfmykm0043m3/T//Rtmp6jFXFa/restez/sql_db' #> ... Does path exist? 'Yes' #> ... N. GBs 0 #> ... Is database connected? 'Yes' #> ... Does the database have data? 'Yes' #> ... Number of sequences 5 #> ... Min. sequence length '0' #> ... Max. sequence length 'Inf' #> ... Last_updated ''
restez_disconnect() db_delete(everything = TRUE) # Errors: # restez_status()