Changelog
Source:NEWS.md
ieugwasr 1.2.1
CRAN release: 2026-11-10
-
ld_clump(),ld_clump_local(),ld_matrix()andld_matrix_local()gainthreadsandmemoryarguments, passed to plink as--threadsand--memory. Without--memoryplink reserves half of the system’s RAM, so several local clumping or LD matrix jobs run at once could exhaust memory. The default,NULL, keeps the previous behaviour (thanks, @rmgpanw, #41). -
ld_matrix_local()now reads the alleles in the.bimfile as character. Previously a column of allTalleles was read as logical, so the row and column names containedTRUEinstead ofT(#38). -
ld_clump_local(), and sold_clump()with a localbfile, no longer errors with “cannot open the connection” when plink writes no.clumpedfile. If no variants pass clumping it now returns no rows with a message, and if plink fails it gives an informative error including the end of the plink log (#30, #34, #44). -
ld_clump(),ld_clump_local(),ld_matrix()andld_matrix_local()gain atmpdirargument, the directory in which the temporary files used by plink are written. The default,tempdir(), keeps the previous behaviour (#37). -
ld_matrix_local()now removes its temporary plink files when it exits. -
ld_clump()now warns if several variants share the smallest p-value, e.g. because p-values smaller than R can represent underflow to 0, or because other software has capped them. Plink then chooses the lead variant among them arbitrarily. The warning suggests lowering any cap, e.g. settingmin_pval = 1e-300inTwoSampleMR::format_data()(#39). -
associations()now convertsnto numeric in each chunk of results before combining them. Previously, when querying many ids or variants, it could fail with “Can’t combine..1$nand ..2$n” if nwas missing for some datasets (#171).
ieugwasr 1.2.0
CRAN release: 2026-10-07
-
associations()now returns the processed tibble. Previously its... %>% return()inside a pipe did not return from the function (since magrittr 2.0), so the raw server data frame was returned instead, withnas character. - Remove the flipping of
betaforukb-edatasets inassociations(),tophits()andphewas(). The flip was never applied inassociations()(see above), and the OpenGWAS server is the right place to correct these datasets. - Replace
%>% return()with explicitreturn()calls throughout. - Update some GitHub Actions workflows, including no longer testing on R before R 4.1 due to the new testthat requirements
- Tweak an API test
- Bump version of roxygen2
- Fix a typo in the documentation for
ld_clump() - Bump minimum required version of R to 4.1
- Update some URLs in the package
- Fix some typos in the docs
- Forward
...toapi_query()invariants_chrpos() - Prevent divide-by-zero chunking in
associations() - Handle
NULLopengwas_jwtinapi_query() - Close connection in
afl2_list()hapmap3 branch - Harden
fill_n()against empty or multi-rowgwasinfo()results - Use
getOption()instead of copying the full options list - Remove dead shadowing assignment in
associations() - Use
seq_along()/seq_len()instead of1:length()loop bounds - Align
ld_clump_api()defaults with its documentation - Make
get_query_content()error path robust to non-JSON bodies - Fix empty-result check in
tophits()(closes #76) - Supply
origintoas.POSIXct()in allowance reset handling (closes #103) - Remove utils from Suggests, since it’s a Base package
ieugwasr 1.1.0
CRAN release: 2025-07-31
- Improved error handling
- Managing new API limits on associations endpoint
- Updated header info passed to API
ieugwasr 1.0.4
CRAN release: 2025-06-18
- Improved warning messages in
ld_clump()(thanks @DarwinAwardWinner). -
ld_clump()andld_matrix()now search for the plink binary as documented (thanks @DarwinAwardWinner). - Made some minor amends in the helpfiles and vignettes including: fixing typos, replacing all references to MR-Base with OpenGWAS, and improving the
gwasinfo_files()helpfile. - Fixed bug in headers code in
api_query()(thanks @Gaoyan152).
ieugwasr 1.0.3
CRAN release: 2025-03-20
- Add gwasinfo_files() function to return for each dataset specified the download URL for each file (.vcf.gz, .vcf.gz.tbi, _report.html) associated with the dataset. The URLs will expire in 2 hours.
ieugwasr 1.0.1
CRAN release: 2024-07-01
- Checking for allowance depletion, and erroring until the allowance is reset
- Import the magrittr pipe (thanks @Bhashitha2014)
ieugwasr 1.0.0
CRAN release: 2024-04-22
- Introducing JWT authorisation for the API
- Phasing out Google Oauth2 authorisation
- Added user() function to get user information
- Fixing issue with anonymous functions and backwards compatibility
- Bug in tophits when result is empty
- Removing version check at startup
- Bug in querying when errors returned
- Removing unnecessary dependencies and vignettes
ieugwasr 0.2.2
CRAN release: 2024-03-28
- Reinstating https://api.opengwas.org/api/ as the API server address
- Fixing issues with tests failing when server load is an issue
ieugwasr 0.2.1
- Updating API server address temporarily
- Modifying tests to manage API server load
- Fixes to load/attach behaviour
ieugwasr 0.2.0
CRAN release: 2024-03-25
- Moving API address to https://api.opengwas.org/api/
- Fixing issues for CRAN release
ieugwasr 0.1.7
- Added functions to write LD scores files into compressed
.gzfiles for each super-population and divided by chromosomes. - Added argument to output gwasglue2 objects in
ieugwasr::tophits()andieugwasr::associations().
ieugwasr 0.1.6
Adding messaging about package version
Adding messaging about OpenGWAS # ieugwasr 0.1.5
Added options to perform LD functions on different super-populations
Catching 503 error codes and retrying up to 5 times. This should help avoid fails when the server is busy.
ieugwasr 0.1.4
- Bug fixes in clumping. Thanks to bethleegy for pointing this out