childfree
Access and Harmonize Childfree Demographic Data
Description
Reads demographic data from a variety of public data sources, extracting and harmonizing variables useful for the study of childfree individuals. The identification of childfree individuals and those with other family statuses uses Neal & Neal's (2024) "A Framework for Studying Adults who Neither have Nor Want Children" <doi:10.1177/10664807231198869>; A pre-print is available at <doi:10.31234/osf.io/fa89m>.
Downloads
243
Last 30 days
20430th
631
Last 90 days
2.5K
Last year
Trend: +51.9% (30d vs prior 30d)
1
Last 30 days
31
Last 90 days
161
Last year
Trend: -91.7% (30d vs prior 30d)
8
Last 7 days
19
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | ERROR |
| r-oldrel-macos-x86_64 | ERROR |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | ERROR |
| r-release-windows-x86_64 | OK |
Check details (3 non-OK)
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘childfree.Rmd’ using rmarkdown
trying URL 'https://osf.io/download/hk23e'
Content type 'application/octet-stream' length 41025900 bytes (39.1 MB)
==================================================
downloaded 39.1 MB
Quitting from childfree.Rmd:137-139 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `file()`:
! cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat'
---
Backtrace:
▆
1. └─childfree::nsfg(years = 2017)
2. └─base::readLines("https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat")
3. └─base::file(con, "r")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'childfree.Rmd' failed with diagnostics:
cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat'
--- failed re-building ‘childfree.Rmd’
--- re-building ‘codebooks.Rmd’ using rmarkdown
--- finished re-building ‘codebooks.Rmd’
SUMMARY: processing the following file failed:
‘childfree.Rmd’
Error: Vignette re-building failed.
Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘childfree.Rmd’ using rmarkdown
trying URL 'https://osf.io/download/hk23e'
Content type 'application/octet-stream' length 41025900 bytes (39.1 MB)
==================================================
downloaded 39.1 MB
Quitting from childfree.Rmd:137-139 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `file()`:
! cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat'
---
Backtrace:
▆
1. └─childfree::nsfg(years = 2017)
2. └─base::readLines("https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat")
3. └─base::file(con, "r")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'childfree.Rmd' failed with diagnostics:
cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_FemRespData.dat'
--- failed re-building ‘childfree.Rmd’
--- re-building ‘codebooks.Rmd’ using rmarkdown
--- finished re-building ‘codebooks.Rmd’
SUMMARY: processing the following file failed:
‘childfree.Rmd’
Error: Vignette re-building failed.
Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building ‘childfree.Rmd’ using rmarkdown
trying URL 'https://osf.io/download/hk23e'
Content type 'application/octet-stream' length 41025900 bytes (39.1 MB)
==================================================
downloaded 39.1 MB
Quitting from childfree.Rmd:137-139 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `file()`:
! cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat'
---
Backtrace:
▆
1. └─childfree::nsfg(years = 2017)
2. └─base::readLines("https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat")
3. └─base::file(con, "r")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'childfree.Rmd' failed with diagnostics:
cannot open the connection to 'https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NSFG/2017_2019_MaleData.dat'
--- failed re-building ‘childfree.Rmd’
--- re-building ‘codebooks.Rmd’ using rmarkdown
--- finished re-building ‘codebooks.Rmd’
SUMMARY: processing the following file failed:
‘childfree.Rmd’
Error: Vignette re-building failed.
Execution halted
Check History
ERROR 10 OK · 0 NOTE · 0 WARNING · 4 ERROR · 0 FAILURE Mar 10, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘childfree.Rmd’ using rmarkdown trying URL 'https://osf.io/download/hk23e' Content type 'application/octet-stream' length 41025900 bytes (39.1 MB) ================================================== d ...[truncated]... ' --- failed re-building ‘childfree.Rmd’ --- re-building ‘codebooks.Rmd’ using rmarkdown --- finished re-building ‘codebooks.Rmd’ SUMMARY: processing the following file failed: ‘childfree.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘childfree.Rmd’ using rmarkdown trying URL 'https://osf.io/download/hk23e' Content type 'application/octet-stream' length 41025900 bytes (39.1 MB) ================================================== d ...[truncated]... ' --- failed re-building ‘childfree.Rmd’ --- re-building ‘codebooks.Rmd’ using rmarkdown --- finished re-building ‘codebooks.Rmd’ SUMMARY: processing the following file failed: ‘childfree.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘childfree.Rmd’ using rmarkdown trying URL 'https://osf.io/download/hk23e' Content type 'application/octet-stream' length 41025900 bytes (39.1 MB) ================================================== d ...[truncated]... ' --- failed re-building ‘childfree.Rmd’ --- re-building ‘codebooks.Rmd’ using rmarkdown --- finished re-building ‘codebooks.Rmd’ SUMMARY: processing the following file failed: ‘childfree.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building ‘childfree.Rmd’ using rmarkdown trying URL 'https://osf.io/download/hk23e' Content type 'application/octet-stream' length 41025900 bytes (39.1 MB) ================================================== d ...[truncated]... ' --- failed re-building ‘childfree.Rmd’ --- re-building ‘codebooks.Rmd’ using rmarkdown --- finished re-building ‘codebooks.Rmd’ SUMMARY: processing the following file failed: ‘childfree.Rmd’ Error: Vignette re-building failed. Execution halted
Code & tests
Open call graph →Line coverage
–
Expression
–
Tests / Examples
–
Functions
4 3 exported
Complexity
117.5 avg / 350 max
Call network
4 nodes / 0 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
2,443
Files
27
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
3
Internal functions
1
Recent export changes
Testing & CI
Has tests
No
Test-to-code ratio
0.00
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
100%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
2.10
System requirements
–
C++ standard
–
License
GPL-3
License flags
SPDX valid, OSI approved
History
Versions
5
First release
2024-04-05
Latest release
2026-02-26
Avg cadence
146 days
Cold removal rate
–
Dep drift
3
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.