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

error with etox_basic() #389

Open
lego-yaw opened this issue Mar 4, 2023 · 1 comment
Open

error with etox_basic() #389

lego-yaw opened this issue Mar 4, 2023 · 1 comment

Comments

@lego-yaw
Copy link

lego-yaw commented Mar 4, 2023

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(...)
@Aariq
Copy link
Collaborator

Aariq commented Mar 5, 2023

Can you share what code you ran that gave this error?

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

No branches or pull requests

2 participants