Open Xuemin-Wang opened 4 years ago
Same problem. Help, please!
Hi I am also experiencing this problem, and very frequently finding server code 502 when running any TwosampleMR functions sadly.
Same problem. Have you solved it?
Same problem for me as well :(
same problem, did you by chance find the solution ?
Server issues, I solve this by code
options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/')
Dear authors and users,
The issue below occurred while trying TwoSampleMR. Looks like it's expecting an argument.
library(TwoSampleMR) [>] TwoSampleMR version 0.5.5 [>] New: Option to use non-European LD reference panels for clumping etc [>] Some studies temporarily quarantined to verify effect allele [>] See news(package='TwoSampleMR') and https://gwas.mrcieu.ac.uk for further details
ao <- available_outcomes() API: public: http://gwas-api.mrcieu.ac.uk/ Error: Argument 1 must be a data frame or a named atomic vector. Run
rlang::last_error()
to see where the error occurred.rlang::last_error() <error/rlang_error> Argument 1 must be a data frame or a named atomic vector. Backtrace:
- TwoSampleMR::available_outcomes()
- ieugwasr::gwasinfo(access_token = access_token)
- dplyr::bind_rows(out) Run
rlang::last_trace()
to see the full context.rlang::last_trace() <error/rlang_error> Argument 1 must be a data frame or a named atomic vector. Backtrace: █
- └─TwoSampleMR::available_outcomes()
- └─ieugwasr::gwasinfo(access_token = access_token)
├─dplyr::bind_rows(out) %>% dplyr::select("id", "trait", dplyr::everything())
│ └─base::eval(lhs, parent, parent)
│ └─base::eval(lhs, parent, parent)
└─dplyr::bind_rows(out)
I think access_token is not mandatory in the latest version, though I've tried ao <- available_outcomes(access_token=NULL) but encountered the same error.
ao <- available_outcomes(access_token=NULL) Error: Argument 1 must be a data frame or a named atomic vector. Run
rlang::last_error()
to see where the error occurred.Any comment will be appreciated.
Regards, patrick
i had same issue, you can use these couple lines of code:
server<- options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/')
outcomes<-available_outcomes(server)
Originally posted by @weishao9 in https://github.com/MRCIEU/TwoSampleMR/issues/220#issuecomment-2168307481
Server issues, I solve this by code
options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/')
great
Dear authors and users,
The issue below occurred while trying TwoSampleMR. Looks like it's expecting an argument.
I think access_token is not mandatory in the latest version, though I've tried ao <- available_outcomes(access_token=NULL) but encountered the same error.
Any comment will be appreciated.
Regards, patrick