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

[BUG]: extract_instruments()have some reading error #471

Open
Lincy1226 opened this issue Jan 31, 2024 · 0 comments
Open

[BUG]: extract_instruments()have some reading error #471

Lincy1226 opened this issue Jan 31, 2024 · 0 comments
Labels

Comments

@Lincy1226
Copy link

Please make sure that this is a bug! If you have questions about how to use TwoSampleMR please use the Discussions function instead.

Describe the bug (required)

Hello! I tried to use extract_instruments() to get datasets from IEU GWAS. But Rstudio can't create correct connection. Additionally, I tried to use available_outcomes() and it showed the similar error. Can you give me some assistance?
Provide a clear and concise description of what the bug is
Error: Cannot read token from alleged .rds file:
mrbase.oauthError in readRDS(token_path): error reading from connection

Describe the current behaviour you observe (required)

ldsc_gwas<-extract_instruments(outcomes ="ebi-a-GCST90025986",clump = FALSE) #blood glucose
Extracting data from 1 GWAS(s)
[>] 1 of 1
Error: Cannot read token from alleged .rds file:
mrbase.oauthError in readRDS(token_path): error reading from connection
available_outcomes()
Error: Cannot read token from alleged .rds file:
mrbase.oauthError in readRDS(token_path): error reading from connection
Include code blocks with any error messages

Describe the behaviour you expect (required)

R code to reproduce the issue (required)

Please provide a minimal code snippet that will reproduce this issue

Contribute a solution (optional)

Please submit a pull request and/or briefly describe your proposed solution

System information

Please provide details of your operating system and R version

Additional context

Add any other context about the problem here

@Lincy1226 Lincy1226 added the bug label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant