Skip to content

Commit

Permalink
simplifying - removing dependencies and vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
explodecomputer committed Apr 21, 2024
1 parent f2927f5 commit 88cc234
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 181 deletions.
5 changes: 1 addition & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@ Imports:
dplyr,
httr,
jsonlite,
magrittr,
rlang,
stats
Suggests:
knitr,
microbenchmark,
pander,
utils,
rmarkdown,
testthat
VignetteBuilder:
Expand Down
3 changes: 0 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

S3method(print,ApiStatus)
S3method(print,GwasInfo)
export("%>%")
export(afl2_chrpos)
export(afl2_list)
export(afl2_rsid)
Expand Down Expand Up @@ -33,7 +32,5 @@ export(variants_chrpos)
export(variants_gene)
export(variants_rsid)
export(variants_to_rsid)
importFrom(magrittr,"%>%")
importFrom(rlang,.data)
importFrom(utils,read.table)
importFrom(utils,write.table)
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Bug in tophits when result is empty
* Removing version check at startup
* Bug in querying when errors returned
* Removing unnecessary dependancies and vignettes

# ieugwasr 0.2.2
* Reinstating https://api.opengwas.org/api/ as the API server address
Expand Down
1 change: 1 addition & 0 deletions R/globals.R
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
utils::globalVariables(c(".", "%>%", ".data"))
21 changes: 0 additions & 21 deletions R/utils-pipe.R

This file was deleted.

8 changes: 0 additions & 8 deletions man/dot-data.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/pipe.Rd

This file was deleted.

2 changes: 1 addition & 1 deletion vignettes/guide.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ From 1st May 2024, most queries to the OpenGWAS API will require user authentica

To authenticate, you need to generate a token from the OpenGWAS website. The token behaves like a password, and it will be used to authorise the requests you make to the OpenGWAS API. Here are the steps to generate the token and then have `ieugwasr` automatically use it for your queries:

1. Login to https://api.opengwas.io/profile
1. Login to https://api.opengwas.io/profile/
2. Generate a new token
3. Add `OPENGWAS_JWT=<token>` to your `.Renviron` file. This file could be either in your home directory or in the working directory of your R session. You can check the location of your `.Renviron` file by running `Sys.getenv("R_ENVIRON_USER")` in R.
4. Restart your R session
Expand Down
124 changes: 0 additions & 124 deletions vignettes/timings.Rmd

This file was deleted.

0 comments on commit 88cc234

Please sign in to comment.