Skip to content

error with etox_basic() #389

@lego-yaw

Description

@lego-yaw

I was trying to run the etox_basic( ) function on the suggested database from your article of reference but I keep on encountering an issue, please can you kindly help, if possible explain why this is happening, Below is the error I encountered

 <error/vctrs_error_subscript_oob>
Error in `binf[, 1]`:
! Can't subset columns past the end.
ℹ Location 1 doesn't exist.
ℹ There are only 0 columns.
---
Backtrace:
     ▆
  1. ├─webchem::etox_basic(idsub$etoxid)
  2. │ └─base::lapply(id, foo, verbose = verbose)
  3. │   └─webchem (local) FUN(X[[i]], ...)
  4. │     ├─binf[, 1]
  5. │     └─tibble:::`[.tbl_df`(binf, , 1)                     #this line was highlighted 
  6. │       └─tibble:::vectbl_as_col_location(...)
  7. │         ├─tibble:::subclass_col_index_errors(...)
  8. │         │ └─base::withCallingHandlers(...)
  9. │         └─vctrs::vec_as_location(j, n, names, call = call)
 10. └─vctrs (local) `<fn>`()
 11.   └─vctrs:::stop_subscript_oob(...)
 12.     └─vctrs:::stop_subscript(...)
 13.       └─rlang::abort(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions