Skip to content

Commit b90f9b7

Browse files
authored
Merge pull request #211 from grunwaldlab/cran-maintenance-2.8.4
Update unique.MLG documentation for CRAN
2 parents 60eb0e3 + 4da814f commit b90f9b7

File tree

236 files changed

+4924
-3235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+4924
-3235
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
^CONTRIBUTING.md$
2020
^_pkgdown\.yml$
2121
^appveyor\.yml$
22+
^pkgdown$

CRAN-RELEASE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
This package was submitted to CRAN on 2019-06-14.
2-
Once it is accepted, delete this file and tag the release (commit a2b31fd4d3).
1+
This package was submitted to CRAN on 2020-02-12.
2+
Once it is accepted, delete this file and tag the release (commit d7ae8d2f4e).

DESCRIPTION

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
Package: poppr
22
Type: Package
33
Title: Genetic Analysis of Populations with Mixed Reproduction
4-
Version: 2.8.3
5-
Date: 2019-06-13
4+
Version: 2.8.4
65
Authors@R: c(person(c("Zhian", "N."), "Kamvar", role = c("cre", "aut"),
76
email = "[email protected]", comment = c(ORCID = "0000-0003-1458-7108")),
87
person(c("Javier", "F."), "Tabima", role = "aut",
@@ -66,4 +65,4 @@ Suggests:
6665
RClone
6766
License: GPL-2 | GPL-3
6867
VignetteBuilder: knitr
69-
RoxygenNote: 6.1.1
68+
RoxygenNote: 7.0.2

NEWS.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
poppr 2.8.4
2+
===========
3+
4+
CRAN MAINTENANCE
5+
----------------
6+
7+
* Update documentation for S4 method
8+
19
poppr 2.8.3
210
===========
311

R/aaaMLGmethods.R

+1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ setGeneric("unique")
243243
#'
244244
#' @rdname unique-methods
245245
#' @aliases unique,MLG-method
246+
#' @aliases unique,MLG,ANY-method
246247
#' @param incomparables vector of values that cannot be compared
247248
#' @param ... options passed on to the base function \link{unique} or \link{duplicated}.
248249
#' @export

R/ia_jackknife.R

-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ bias.ia <- function(theta_hat, theta_star){
157157
}
158158

159159
#' @rdname ia
160-
#' @inheritParams resample.ia
161160
#' @export
162161
jack.ia <- function(gid, n = NULL, reps = 999, quiet = FALSE){
163162
msg <- paste0("jack.ia() is deprecated and will be removed in future versions.\n",

R/poppr.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@
9898
#'
9999
#' Below are descriptions and links to functions found in \pkg{poppr}. Be
100100
#' aware that all functions in \pkg{\link[adegenet]{adegenet}} are also
101-
#' available. The functions are documented as:
101+
#' available. The functions are documented as:
102102
#'
103-
#' > `function` (data type) - Description
103+
#' - `function_name()` (data type) - Description
104104
#'
105105
#' Where \sQuote{data type} refers to the type of data that can be used:
106106
#' \tabular{ll}{
@@ -247,7 +247,7 @@
247247
#'
248248
#' --------- Papers referencing data sets ---------
249249
#'
250-
#' Grunwald, NJ and Hoheisel, G.A. 2006. Hierarchical Analysis of Diversity,
250+
#' Grünwald, NJ and Hoheisel, G.A. 2006. Hierarchical Analysis of Diversity,
251251
#' Selfing, and Genetic Differentiation in Populations of the Oomycete
252252
#' *Aphanomyces euteiches*. Phytopathology 96:1134-1141 doi:
253253
#' \href{https://doi.org/10.1094/PHYTO-96-1134}{10.1094/PHYTO-96-1134}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ genind and genlight objects and offers the following implementations:
2727
or (<img src="https://latex.codecogs.com/gif.latex?%5Cbar%7Br%7D_d" alt = "Standardized index of association">)
2828
- batch processing on any server that has R (&ge; 2.15.1) installed
2929
- calculation of Bruvo's distance for microsatellite (SSR) markers (implemented in C for speed)
30-
- import of data from and export to [GenAlEx](https://biology.anu.edu.au/GenAlEx/Welcome.html "GenAlEx Homepage")
30+
- import of data from and export to [GenAlEx](https://biology-assets.anu.edu.au/GenAlEx/Welcome.html "GenAlEx Homepage")
3131

3232
### New in version 2.0:
3333

cran-comments.md

+12-51
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,23 @@
1-
# Poppr version 2.8.3
1+
# Poppr version 2.8.4
22

3-
This is an attempt at fixing a LaTeX issue with a straddling link [0]
3+
This is a fix for a warning on CRAN:
44

5-
[0]: https://hypatia.math.ethz.ch/pipermail/r-package-devel/2019q2/004093.html
5+
On Wed, Feb 12, 2020 at 6:20 AM Kurt Hornik <[email protected]> wrote:
6+
Dear maintainer,
67

8+
Please see the problems shown on
9+
<https://cran.r-project.org/web/checks/check_results_poppr.html>.
710

8-
Thank you for implementing the extra checks for poppr. I really
9-
appreciate the hard work that goes into maintenance of CRAN. Because
10-
of the extra checks, I was able to find old code that was poorly
11-
written and subsequently was fixed.
11+
Please correct before 2020-02-26 to safely retain your package on CRAN.
1212

13-
This resubmission addresses the following concerns:
14-
15-
> If there are references describing the methods in your package, please
16-
> add these in the Description field of your DESCRIPTION file in the form
17-
> authors (year) doi:...
18-
> authors (year) arXiv:...
19-
> authors (year, ISBN:...)
20-
> with no space after 'doi:', 'arXiv:' and angle brackets for auto-linking.
21-
22-
Done.
23-
24-
> Please do not modify the global environment (e.g. by using <<-) in your
25-
> functions.
26-
27-
Done. There is currently one function that still contains this, but it is
28-
properly scoped and does not modify the global environment.
29-
30-
> Please always reset the user's options, working directory, ... in your
31-
> examples (e.g. man/getfile.Rd).
32-
33-
Done.
34-
35-
> Please ensure that your functions do not write by default or in your
36-
> examples/vignettes/tests in the user's home filespace. That is not allow
37-
> by CRAN policies. Please only write/save files if the user has specified
38-
> a directory. In your examples/vignettes/tests you can write to tempdir()
39-
40-
Done.
41-
42-
> Please replace \dontrun{} by \donttest{} or if(interactive()){} in your
43-
> Rd-file.
44-
45-
I have not done this and am hesitant to do so as several of the examples that
46-
use \dontrun will have long-running code to show more in-depth examples or have
47-
code that will fail to show more realistic scenarios for user file interactions.
48-
Because of the long-running examples, I fear that wrapping them in \donttest
49-
would cause my package to fail because of their runtime.
50-
51-
I do realize I could wrap these in if (interactive()), but then I would not be
52-
able to illustrate the longer-running examples on my documentation website
53-
(i.e. https://grunwaldlab.github.io/poppr/reference/bitwise.dist.html#examples)
13+
Best,
14+
-k
5415

5516
## Test environments
5617

57-
* local macOS install, R 3.6.0
58-
* local ubuntu 16.04 install, R 3.6.0
59-
* ubuntu 14.04 (on travis-ci), devel (2019-06-17 r76705) and R 3.6.0
18+
* local macOS install, R 3.6.2
19+
* local ubuntu 16.04 install, R 3.6.2
20+
* ubuntu 14.04 (on travis-ci), devel (2019-06-17 r76705) and R 3.6.2
6021
* windows R Under development (unstable)
6122

6223
## R CMD check results

docs/404.html

+162
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)