Skip to content

Commit ff02907

Browse files
authored
Merge pull request #61 from nickreich/cran-link-fix
update cross-reference for MCMCmetrop1R link
2 parents fe784b1 + 32c9b49 commit ff02907

File tree

10 files changed

+34
-32
lines changed

10 files changed

+34
-32
lines changed

CRAN-SUBMISSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Version: 0.6-6
2-
Date: 2021-12-09 15:50:23 UTC
3-
SHA: 9031cb87f2972541498e5b5a2d9b391066091cc8
1+
Version: 0.7.2
2+
Date: 2025-04-11 20:15:41 UTC
3+
SHA: d8af1df1b780ebf57345882cddc53aaa1eb5bd67

DESCRIPTION

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: coarseDataTools
2-
Version: 0.7.1
3-
Date: 2023-07-03
2+
Version: 0.7.2
3+
Date: 2025-04-09
44
Title: Analysis of Coarsely Observed Data
55
Authors@R: c(person("Nicholas G.", "Reich", email = "nick@umass.edu", role = c("aut", "cre")),
66
person("Justin", "Lessler", email = "jlessler@unc.edu", role = "aut"),
@@ -9,9 +9,10 @@ Authors@R: c(person("Nicholas G.", "Reich", email = "nick@umass.edu", role = c("
99
person("Hugo", "Gruson", email = "hugo.gruson@normalesup.org", role = "ctb"))
1010
Maintainer: Nicholas G. Reich <nick@umass.edu>
1111
License: GPL (>= 2)
12-
URL: https://cran.r-project.org/package=coarseDataTools,
13-
http://nickreich.github.io/coarseDataTools/
12+
URL: http://nickreich.github.io/coarseDataTools/
1413
Encoding: UTF-8
14+
Depends:
15+
R (>= 3.5.0)
1516
Imports:
1617
MCMCpack,
1718
graphics,
@@ -39,4 +40,4 @@ Collate:
3940
'sampleSizeSimulation.R'
4041
'coarseDataTools-package.R'
4142
VignetteBuilder: knitr
42-
RoxygenNote: 7.2.3
43+
RoxygenNote: 7.3.2

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# coarseDataTools 0.7.2
2+
3+
* update cross-reference link for CRAN compatibility
4+
15
# coarseDataTools 0.7.1
26

37
* Added pkgdown, moved ChangeLog to NEWS.md

R/coarseDataTools-package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
##' @format A numeric vector with 134 positive values. Each value represents an exposure window length from an observation of the incubation period for that individual. The exposure window length is the length of time during which exposure could have occurred. For example, if an individual could have been exposed anytime between 6am on Monday to 6am on Wednesday, her exposure window length would be 2 days.
1414
##'
1515
##' @usage data(exp.win.lengths)
16-
##' @source Lessler J et al. New England Journal of Medicine. Outbreak of 2009 Pandemic Influenza A (H1N1) at a New York City School. 2009. 361(27):2628-2636. \url{https://www.nejm.org/doi/full/10.1056/nejmoa0906089}
16+
##' @source Lessler J et al. New England Journal of Medicine. Outbreak of 2009 Pandemic Influenza A (H1N1) at a New York City School. 2009. 361(27):2628-2636. \doi{10.1056/NEJMoa0906089}
1717
##'
1818
##' @examples
1919
##' data(exp.win.lengths)

R/dic.fit.mcmc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
##' @param n.samples number of samples to draw from the posterior (after the burnin)
2828
##' @param dist distribution to be used (L for log-normal,W for weibull, G for Gamma, and E for erlang, off1G for 1 day right shifted gamma)
2929
##' @param seed seed for the random number generator for MCMC
30-
##' @param ... additional parameters to \link{MCMCmetrop1R}
30+
##' @param ... additional parameters to \link[MCMCpack]{MCMCmetrop1R}
3131
##' @return a cd.fit.mcmc S4 object
3232
##' @importFrom MCMCpack MCMCmetrop1R
3333
##' @export

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ coarseDataTools
33

44
<!-- badges: start -->
55
[![CRAN](http://cranlogs.r-pkg.org/badges/coarseDataTools)](https://cran.r-project.org/package=coarseDataTools)
6-
[![Travis build status](https://travis-ci.org/nickreich/coarseDataTools.svg?branch=master)](https://travis-ci.org/nickreich/coarseDataTools)
76
[![R-CMD-check](https://github.com/nickreich/coarseDataTools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/nickreich/coarseDataTools/actions/workflows/R-CMD-check.yaml)
87
<!-- badges: end -->
98

cran-comments.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
## updates in this edition
22

3-
- updated vignette to Rmd/HTML
4-
- fixed s4 documentation issue as requested from CRAN by removing method with problems
5-
- fixed urls in citations
3+
- fixed cross-reference to external package and other broken links

inst/CITATION

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,34 @@ vers <- paste("R package version", meta$Version)
66

77
citHeader("To cite the R package 'coarseDataTools' in publications use:")
88

9-
citEntry(entry = "Article",
10-
title = "Estimating incubation periods with coarse data.",
11-
author= c(person(c("Nicholas G"), "Reich"),
9+
bibentry(bibtype = "Article",
10+
title = "Estimating incubation periods with coarse data.",
11+
author = c(person(c("Nicholas G"), "Reich"),
1212
person(c("Justin"), "Lessler"),
1313
person(c("Derek AT"), "Cummings"),
1414
person(c("Ron"), "Brookmeyer")),
15-
journal = "Statistics in Medicine",
16-
year = 2009,
15+
journal = "Statistics in Medicine",
16+
year = 2009,
1717
textVersion = "Reich NG, Lessler J, Cummings DAT, Brookmeyer R. (2009). Estimating incubation periods with coarse data. Statistics in Medicine. 28(22):2769--2784.")
1818

1919

20-
citEntry(entry = "Article",
21-
title = "Estimating absolute and relative case fatality ratios from infectious disease surveillance data.",
22-
author= c(person(c("Nicholas G"), "Reich"),
20+
bibentry(bibtype = "Article",
21+
title = "Estimating absolute and relative case fatality ratios from infectious disease surveillance data.",
22+
author = c(person(c("Nicholas G"), "Reich"),
2323
person(c("Justin"), "Lessler"),
2424
person(c("Derek AT"), "Cummings"),
2525
person(c("Ron"), "Brookmeyer")),
26-
journal = "Biometrics",
27-
year = 2012,
26+
journal = "Biometrics",
27+
year = 2012,
2828
textVersion = "Reich NG, Lessler J, Cummings DAT, Brookmeyer R. Estimating absolute and relative case fatality ratios from infectious disease surveillance data. Biometrics. 2012, 68(2): 598--606.")
2929

3030

31-
citEntry(entry = "Manual",
32-
title = "coarseDataTools: A collection of functions to help with analysis of coarsely observed data",
33-
author= c(person(c("Nicholas G"), "Reich"),
31+
bibentry(bibtype = "Manual",
32+
title = "coarseDataTools: A collection of functions to help with analysis of coarsely observed data",
33+
author = c(person(c("Nicholas G"), "Reich"),
3434
person(c("Justin"), "Lessler"),
3535
person(c("Andrew S"), "Azman")),
36-
year = year,
37-
note = vers,
38-
url = meta$URL,
36+
year = year,
37+
note = vers,
38+
url = meta$URL,
3939
textVersion = paste0("Reich NG, Lessler J, Azman AS. (", year, "). coarseDataTools: A collection of functions to help with analysis of coarsely observed data. <", meta$URL, ">. ", vers, "."))

man/dic.fit.mcmc.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.

man/exp.win.lengths.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)