Skip to content

[BUG]: Something is wrong when I run the "extract_outcome_data" function in the "Example 4. Effect of BMI on 103 diseases" session of the guide, details are below #658

@DengBopinghrb

Description

@DengBopinghrb

Error in dplyr::bind_rows():
! Can't combine ..1$n and ..2$n .
Run rlang::last_trace() to see where the error occurred.

rlang::last_trace()
<error/vctrs_error_ptype2>
Error in dplyr::bind_rows():
! Can't combine ..1$n and ..2$n .


Backtrace:

  1. ├─TwoSampleMR::extract_outcome_data(snps = exp_dat$SNP, outcomes = ao$id)
  2. │ └─TwoSampleMR:::extract_outcome_data_internal(...)
  3. │ └─ieugwasr::associations(...)
  4. │ └─... %>% dplyr::bind_rows()
  5. └─dplyr::bind_rows(.)
    Run rlang::last_trace(drop = FALSE) to see 10 hidden frames.

rlang::last_trace(drop = FALSE)
<error/vctrs_error_ptype2>
Error in dplyr::bind_rows():
! Can't combine ..1$n and ..2$n .


Backtrace:

  1. ├─TwoSampleMR::extract_outcome_data(snps = exp_dat$SNP, outcomes = ao$id)
  2. │ └─TwoSampleMR:::extract_outcome_data_internal(...)
  3. │ └─ieugwasr::associations(...)
  4. │ └─... %>% dplyr::bind_rows()
  5. ├─dplyr::bind_rows(.)
  6. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
  7. └─vctrs (local) <fn>()
  8. └─vctrs::vec_default_ptype2(...)
  9. ├─base::withRestarts(...)
    
  10. │ └─base (local) withOneRestart(expr, restarts[[1L]])
    
  11. │   └─base (local) doWithOneRestart(return(expr), restart)
    
  12. └─vctrs::stop_incompatible_type(...)
    
  13.   └─vctrs:::stop_incompatible(...)
    
  14.     └─vctrs:::stop_vctrs(...)
    
  15.       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions