Skip to content

Commit

Permalink
Merge pull request rqtl#231 from kbroman/cran
Browse files Browse the repository at this point in the history
Fix compiler warning on CRAN
  • Loading branch information
kbroman committed Nov 28, 2023
2 parents 5a3ed6c + a8f28f8 commit b92e9e6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches: [main, master, cran]
pull_request:
branches: [main, master]
branches: [main, master, cran]

name: R-CMD-check

Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: qtl2
Version: 0.33-6
Date: 2023-11-12
Version: 0.34
Date: 2023-11-28
Title: Quantitative Trait Locus Mapping in Experimental Crosses
Description: Provides a set of tools to perform quantitative
trait locus (QTL) analysis in experimental crosses. It is a
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## qtl2 0.33-6 (2023-11-12)
## qtl2 0.34 (2023-11-28)

### Major changes

Expand All @@ -20,6 +20,10 @@
- More fully explain the use of weights in `est_herit()` and
`scan1()`. (Issue #221)

### Bug fixes

- Deal with new compiler warning on CRAN. (Issue #230)


## qtl2 0.32 (2023-04-21)

Expand Down
2 changes: 1 addition & 1 deletion src/r_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void r_message(std::string text)
void r_warning(std::string text)
{
const char *text_c = text.c_str();
Rf_warning(text_c);
Rf_warning("%s", text_c);
}

// Following based on code from Luke Miratrix, http://bit.ly/rcpp_assert
Expand Down

0 comments on commit b92e9e6

Please sign in to comment.