Skip to content

Commit 31a8e0f

Browse files
final checks
1 parent 2a57082 commit 31a8e0f

3 files changed

Lines changed: 67 additions & 64 deletions

File tree

CRAN-SUBMISSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Version: 1.3.5
2-
Date: 2025-04-02 22:34:23 UTC
3-
SHA: 4d24844aa6703740c60114ed8c60a166cee9de45
1+
Version: 1.4.1
2+
Date: 2025-05-30 01:13:30 UTC
3+
SHA: 007aba3ead89b6d54e57ea323861f0c07ac1c6aa

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Authors@R: c(
1515
comment = c(ORCID = "0000-0001-5538-7431"))
1616
)
1717
Description: Provides functions for behavior genetics analysis,
18-
including variance component model identification [Hunter et al. (2021) <doi:10.1007/s10519-021-10055-x>],
18+
including variance component model identification [Hunter et al. (2021) <doi:10.1007/s10519-021-10055-x>],
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
2222
[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>.
23+
see [Garrison et al. (2024) <doi:10.21105/joss.06203>].
2424
License: GPL-3
2525
URL: https://github.com/R-Computing-Lab/BGmisc/,
2626
https://r-computing-lab.github.io/BGmisc/

cran-comments.md

Lines changed: 62 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,116 @@
11

22
# Description
33

4-
This update introduces several enhancements to functionality, performance, and documentation. The package now includes faster methods for constructing adjacency matrices and comparison tests for evaluating those methods, as well as new pedigree datasets including the Royal Family and A Song of Ice and Fire. New functions have been added: com2links() for converting components to kinship links, extractWikiFamilyTree() for parsing family tree templates from wikis, and checkPedigreeNetwork() for validating pedigree network structure. The plotPedigree() function has been refined to silence unnecessary invisible list outputs. A new vignette demonstrates the use of adjacency matrix methods, and documentation has been expanded to include additional examples and clearer explanations.
4+
This update includes several enhancements and bug fixes to the BGmisc package, improving its functionality and usability for behavior genetics analysis. The key changes include:
5+
- **New Features**:
6+
- Added `calculateCIs` function for computing confidence intervals for correlation coefficients.
7+
- Introduced `addPhantomParents` function to handle phantom parents more efficiently.
8+
- Added aliases for mitochondrial-related terms (`mtdna`, `mitochondria`).
9+
- **Performance Improvements**:
10+
- Refactored `addPhantomParents` for better efficiency.
11+
- Optimized the `com2links`, `summarizePedigree`, and `checkIDs` functions to reduce complexity.
12+
- **Documentation and Testing**:
13+
- Updated documentation to reflect new features and improvements.
14+
- Added comprehensive tests for the `calculateCIs` function and other new features.
15+
- Reorganized unit tests for better structure and clarity.
516

6-
## Pretest Notes
7-
8-
As recommended by Uwe Ligges, I've now rebuilt the package using R Under development (unstable) (2025-02-17 r87739 ucrt). This should fix
9-
"Author field differs from that derived from Authors@R", which is due to use of an ORCID identifier.
1017

1118
# Test Environments
1219

13-
1. Local OS: Windows 11 x64 (build 22635), R 4.4.2 (2024-10-31 ucrt)
14-
2. Local OS: Windows 11 x64 (build 22635), R 4.4.3 (2025-02-28 ucrt)
15-
3. Local OS: Windows 11 x64 (build 22635), R Under development (unstable) (2025-02-17 r87739 ucrt)
16-
4. **GitHub Actions**:
17-
- [Link](https://github.com/R-Computing-Lab/BGmisc/actions/runs/14227584727)
20+
1. Local OS: Windows 11 x64 (build 26120), R 4.5.0 (2025-04-11 ucrt)
21+
2. **GitHub Actions**:
22+
- [Link](https://github.com/R-Computing-Lab/BGmisc/actions/runs/15336728239)
1823
- macOS (latest version) with the latest R release.
1924
- Windows (latest version) with the latest R release.
2025
- Ubuntu (latest version) with:
2126
- The development version of R.
2227
- The latest R release.
23-
- The penultimate release of R.
28+
2429
2530
## R CMD check results
2631

2732
==> devtools::check()
2833

29-
══ Documenting ═════════════════════════════════════════════════════════════════════════════════════
34+
══ Documenting ═══════════════════════════════════════
3035
ℹ Updating BGmisc documentation
3136
ℹ Loading BGmisc
3237

33-
══ Building ════════════════════════════════════════════════════════════════════════════════════════
38+
══ Building ══════════════════════════════════════════
3439
Setting env vars:
3540
• CFLAGS : -Wall -pedantic -fdiagnostics-color=always
3641
• CXXFLAGS : -Wall -pedantic -fdiagnostics-color=always
3742
• CXX11FLAGS: -Wall -pedantic -fdiagnostics-color=always
3843
• CXX14FLAGS: -Wall -pedantic -fdiagnostics-color=always
3944
• CXX17FLAGS: -Wall -pedantic -fdiagnostics-color=always
4045
• CXX20FLAGS: -Wall -pedantic -fdiagnostics-color=always
41-
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────
46+
── R CMD build ───────────────────────────────────────
4247
✔ checking for file 'E:\Dropbox\Lab\Research\Projects\2024\BGMiscJoss\BGmisc_main/DESCRIPTION' ...
43-
─ preparing 'BGmisc': (2.6s)
48+
─ preparing 'BGmisc': (3.8s)
4449
✔ checking DESCRIPTION meta-information ...
4550
─ installing the package to build vignettes
46-
✔ creating vignettes (14.2s)
47-
─ excluding invalid files (1.3s)
48-
Subdirectory 'R' contains invalid file names:
49-
'checkParents.X'
51+
✔ creating vignettes (23.1s)
5052
─ checking for LF line-endings in source and make files and shell scripts
5153
─ checking for empty or unneeded directories
5254
Removed empty directory 'BGmisc/checkpoint'
53-
─ building 'BGmisc_1.3.5.tar.gz'
55+
─ building 'BGmisc_1.4.1.tar.gz'
5456

55-
══ Checking ════════════════════════════════════════════════════════════════════════════════════════
57+
══ Checking ══════════════════════════════════════════
5658
Setting env vars:
5759
_R_CHECK_CRAN_INCOMING_REMOTE_ : FALSE
5860
_R_CHECK_CRAN_INCOMING_ : FALSE
5961
_R_CHECK_FORCE_SUGGESTS_ : FALSE
6062
_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_: FALSE
6163
• NOT_CRAN : true
62-
── R CMD check ─────────────────────────────────────────────────────────────────────────────────────
64+
── R CMD check ───────────────────────────────────────
6365
─ using log directory 'E:/Dropbox/Lab/Research/Projects/2024/BGMiscJoss/BGmisc.Rcheck'
64-
─ using R version 4.4.3 (2025-02-28 ucrt)
66+
─ using R version 4.5.0 (2025-04-11 ucrt)
6567
─ using platform: x86_64-w64-mingw32
6668
─ R was compiled by
67-
gcc.exe (GCC) 13.3.0
68-
GNU Fortran (GCC) 13.3.0
69+
gcc.exe (GCC) 14.2.0
70+
GNU Fortran (GCC) 14.2.0
6971
─ running under: Windows 11 x64 (build 26120)
7072
─ using session charset: UTF-8
7173
─ using options '--no-manual --as-cran'
7274
✔ checking for file 'BGmisc/DESCRIPTION'
73-
─ this is package 'BGmisc' version '1.3.5'
75+
─ this is package 'BGmisc' version '1.4.1'
7476
─ package encoding: UTF-8
7577
✔ checking package namespace information
76-
✔ checking package dependencies (900ms)
78+
✔ checking package dependencies (500ms)
7779
✔ checking if this is a source package ...
7880
✔ checking if there is a namespace
79-
✔ checking for executable files (1.2s)
81+
✔ checking for executable files (1.9s)
8082
✔ checking for hidden files and directories ...
8183
✔ checking for portable file names
82-
checking whether package 'BGmisc' can be installed ... [14s] OK (13.5s)
84+
checking whether package 'BGmisc' can be installed (7.8s)
8385
✔ checking installed package size ...
8486
✔ checking package directory
85-
✔ checking for future file timestamps ...
86-
✔ checking 'build' directory
87-
✔ checking DESCRIPTION meta-information ...
88-
✔ checking top-level files
89-
✔ checking for left-over files ...
87+
✔ checking for future file timestamps (707ms)
88+
✔ checking 'build' directory ...
89+
✔ checking DESCRIPTION meta-information (620ms)
90+
✔ checking top-level files ... OK
91+
✔ checking for left-over files
9092
✔ checking index information ...
91-
✔ checking package subdirectories (715ms)
93+
✔ checking package subdirectories (748ms)
9294
✔ checking code files for non-ASCII characters ...
9395
✔ checking R files for syntax errors ...
94-
✔ checking whether the package can be loaded (707ms)
95-
✔ checking whether the package can be loaded with stated dependencies (608ms)
96-
✔ checking whether the package can be unloaded cleanly (709ms)
97-
✔ checking whether the namespace can be loaded with stated dependencies (608ms)
98-
✔ checking whether the namespace can be unloaded cleanly (709ms)
99-
✔ checking loading without being on the library search path (646ms)
100-
✔ checking dependencies in R code (1.7s)
101-
✔ checking S3 generic/method consistency (710ms)
102-
✔ checking replacement functions (608ms)
103-
✔ checking foreign function calls (709ms)
104-
checking R code for possible problems (6.4s)
105-
✔ checking Rd files (508ms)
96+
✔ checking whether the package can be loaded (710ms)
97+
✔ checking whether the package can be loaded with stated dependencies (710ms)
98+
✔ checking whether the package can be unloaded cleanly (808ms)
99+
✔ checking whether the namespace can be loaded with stated dependencies (708ms)
100+
✔ checking whether the namespace can be unloaded cleanly (811ms)
101+
✔ checking loading without being on the library search path (752ms)
102+
✔ checking dependencies in R code (1.8s)
103+
✔ checking S3 generic/method consistency (810ms)
104+
✔ checking replacement functions (708ms)
105+
✔ checking foreign function calls (909ms)
106+
checking R code for possible problems ... [10s] OK (10s)
107+
✔ checking Rd files (709ms)
106108
✔ checking Rd metadata ...
107109
✔ checking Rd line widths ...
108-
✔ checking Rd cross-references (509ms)
109-
✔ checking for missing documentation entries (609ms)
110-
✔ checking for code/documentation mismatches (1.7s)
111-
✔ checking Rd \usage sections (1s)
110+
✔ checking Rd cross-references (527ms)
111+
✔ checking for missing documentation entries (811ms)
112+
✔ checking for code/documentation mismatches (2.3s)
113+
✔ checking Rd \usage sections (1.3s)
112114
✔ checking Rd contents ...
113115
✔ checking for unstated dependencies in examples ...
114116
✔ checking contents of 'data' directory ...
@@ -117,18 +119,19 @@ Setting env vars:
117119
✔ checking data for ASCII and uncompressed saves ...
118120
✔ checking installed files from 'inst/doc' ...
119121
✔ checking files in 'vignettes' ...
120-
✔ checking examples (1.7s)
122+
✔ checking examples (1.8s)
121123
✔ checking for unstated dependencies in 'tests' ...
122124
─ checking tests ...
123-
✔ Running 'testthat.R' (4s)
124-
✔ checking for unstated dependencies in vignettes (369ms)
125+
✔ Running 'testthat.R' (6.8s)
126+
✔ checking for unstated dependencies in vignettes (366ms)
125127
✔ checking package vignettes ...
126-
─ checking re-building of vignette outputs ... [15s] OK (15.5s)
128+
─ checking re-building of vignette outputs ... [26s] OK (26s)
127129
✔ checking for non-standard things in the check directory
128-
✔ checking for detritus in the temp directory
129-
── R CMD check results ─────────────────────────────────────────────────────────── BGmisc 1.3.5 ────
130-
Duration: 1m 1.9s
130+
✔ checking for detritus in the temp directory ...
131+
132+
── R CMD check results ───────────── BGmisc 1.4.1 ────
133+
Duration: 1m 17.3s
131134

132135
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
133136

134-
R CMD check succeeded
137+
R CMD check succeeded

0 commit comments

Comments
 (0)