Skip to content

Commit e87b256

Browse files
prep for update to cran
1 parent b6e3356 commit e87b256

5 files changed

Lines changed: 17 additions & 11 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Description: Provides functions for behavior genetics analysis,
1919
calculation of relatedness coefficients using path-tracing methods
2020
[Wright (1922) <doi:10.1086/279872>; McArdle & McDonald (1984) <doi:10.1111/j.2044-8317.1984.tb00802.x>],
2121
inference of relatedness, pedigree conversion, and simulation of multi-generational family data
22-
[Lyu et al. (2024) <doi:10.1101/2024.12.19.629449>]. For a full overview,
23-
see [Garrison et al. (2024) <doi:10.21105/joss.06203>].
22+
[Lyu et al. (2025) <doi:10.1007/s10519-025-10225-1>]. For a full overview,
23+
see [Garrison et al. (2024) <doi:10.21105/joss.06203>]. For a big data application see [Burt et al. (2025) <doi: 10.1016/j.ebiom.2025.105911>.
2424
License: GPL-3
2525
URL: https://github.com/R-Computing-Lab/BGmisc/,
2626
https://r-computing-lab.github.io/BGmisc/

NEWS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# BGmisc NEWS
2-
# Development version: 1.6.0.9000
3-
Add OpenMx pedigree model builders and docs
4-
Added vignette for OpenMx pedigree model builders
5-
Add option for MZ twins in the additive genetic matrix
6-
Add option to select sex for MZ twin generation.
7-
Add option to tweak pedigree with one id provided
82

93
# BGmisc 1.6.0.1
4+
## CRAN submission
5+
* Add OpenMx pedigree model builders and docs
6+
* Added vignette for OpenMx pedigree model builders
7+
* Add option for MZ twins in the additive genetic matrix
8+
* Add option to select sex for MZ twin generation.
9+
* Add option to tweak pedigree with one id provided
1010
* Add helper functions for checkParents etc
1111
* fixed incorrect direction so that parents are pointing to children in the graphs
1212
* Optimize simulatePedigree and helpers for speed and memory usage
13-
* Major gains in speed for deeper pedigrees
13+
* Major gains (>x10) in speed for deeper pedigrees
1414
* Added more tests for simulatePedigree
1515
* Fix error when not enough single people available
1616

R/buildmxPedigrees.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,12 @@ buildFamilyGroups <- function(
252252
Dmgmat = NULL,
253253
prefix = "fam"
254254
) {
255+
if (!requireNamespace("OpenMx", quietly = TRUE)) {
256+
stop("OpenMx package is required for fitPedigreeModel function. Please install it.")
257+
} else {
258+
library(OpenMx)
259+
}
260+
255261
numfam <- nrow(dat)
256262
groups <- vector("list", numfam)
257263

cran-comments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Description
33

4-
This update includes minor enhancements and bug fixes related to how string ids are handled in various functions. It also now allows certain vignettes to not throw an error if openmx is not installed for older R versions. This should resolve r-oldrel-windows-x86_64 1.5.0 22.00 246.00 268.00 ERROR seen in the last CRAN check.
4+
This update includes an extended vignette and several openmx convenience functions. We left openmx as a suggests rather than a dependency because the openmx convenience aren't essential to the core functions. This should resolve r-oldrel-windows-x86_64 1.5.0 22.00 246.00 268.00 ERROR seen in the last CRAN check.
55

66
# Test Environments
77

man/BGmisc-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)