Skip to content

Commit 61fa11b

Browse files
committed
fixing CRAN notes
1 parent 5fd7070 commit 61fa11b

File tree

5 files changed

+45
-63
lines changed

5 files changed

+45
-63
lines changed

DESCRIPTION

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: TropFishR
22
Type: Package
33
Title: Tropical Fisheries Analysis
4-
Version: 1.6.4
5-
Date: 2024-01-29
4+
Version: 1.6.5
5+
Date: 2024-10-21
66
Author: Tobias K. Mildenberger, Marc H. Taylor, Matthias Wolff
77
Maintainer: Tobias K. Mildenberger <[email protected]>
88
Depends:
@@ -31,7 +31,7 @@ NeedsCompilation: no
3131
BugReports: https://github.com/tokami/TropFishR/issues
3232
URL: https://github.com/tokami/TropFishR
3333
Encoding: UTF-8
34-
RoxygenNote: 7.3.1
34+
RoxygenNote: 7.3.2
3535
Suggests:
3636
graphics,
3737
grDevices,

R/growth_length_age.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#' to be omitted. Non-linear least squares fitting is the preferred method to estimate
5959
#' growth parameters according to Sparre and Venema (1998). If \code{CI = TRUE} the
6060
#' confidence interval of parameters is calculated and plotted. For plotting the
61-
#' confidence interval the \code{\link{predictNLS}} from the \link{propagate} package
61+
#' confidence interval the \code{\link[propagate]{predictNLS}} from the propagate package
6262
#' is applied.
6363
#'
6464
#' @return A list with the input parameters and following parameters:

R/ypr_sel.R

+21-31
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,27 @@
1919
#' @keywords function prediction ypr
2020
#'
2121
#'
22-
#' @details The Thompson and Bell model incorporates an iteration step simulating the
23-
#' stock by means
24-
#' of the \code{\link{stock_sim}} function. In case changes in gear
25-
#' characteristics -
26-
#' here measured in terms of Lc or tc, the length or age at first capture,
27-
#' respectively -
28-
#' should be explored, a list with selectivity information about the gear has
29-
#' to be provided and
30-
#' the prediction models make use of the selectivity \code{\link{select_ogive}}
31-
#' function.
32-
#' Sparre and Venema (1998) recommend to treat the last length class always as plus group.
33-
#' This model is very sensitive to zero observations in the ultimate length
34-
#' classes. If unrealistic results are returned,
35-
#' it is recommended to cut length classes with zero observations, group
36-
#' them in a plus group or to change the interval between
37-
#' length classes.
38-
#' Equations which are used in this function assume isometric growth, an
39-
#' assumption often not met. Further, the assumption that there is no relationship
40-
#' between the parental stock size and progeny
41-
#' over a wide range of fishing mortalities or exploitation values,
42-
#' respectively, is also said to be untrue. By default, the functions assume
43-
#' knife-edge recruitment and selection of gears (Sparre and Venema, 1998).
44-
#'
45-
#'
46-
#' @return A list with the input parameters and dependent on the model type following
47-
#' list objects:
48-
#' \itemize{
49-
#' \item
50-
#' }
22+
#' @details The Thompson and Bell model incorporates an iteration step
23+
#' simulating the stock by means of the \code{\link{stock_sim}} function. In
24+
#' case changes in gear characteristics - here measured in terms of Lc or
25+
#' tc, the length or age at first capture, respectively - should be
26+
#' explored, a list with selectivity information about the gear has to be
27+
#' provided and the prediction models make use of the selectivity
28+
#' \code{\link{select_ogive}} function. Sparre and Venema (1998) recommend
29+
#' to treat the last length class always as plus group. This model is very
30+
#' sensitive to zero observations in the ultimate length classes. If
31+
#' unrealistic results are returned, it is recommended to cut length classes
32+
#' with zero observations, group them in a plus group or to change the
33+
#' interval between length classes. Equations which are used in this
34+
#' function assume isometric growth, an assumption often not met. Further,
35+
#' the assumption that there is no relationship between the parental stock
36+
#' size and progeny over a wide range of fishing mortalities or exploitation
37+
#' values, respectively, is also said to be untrue. By default, the
38+
#' functions assume knife-edge recruitment and selection of gears (Sparre
39+
#' and Venema, 1998).
40+
#'
41+
#'
42+
#' @return A list with the input parameters and dependent on the model type.
5143
#'
5244
#'
5345
#' @references
@@ -217,5 +209,3 @@ ypr_sel <- function(param, FM_change, Lt, P){
217209

218210
return(ret)
219211
}
220-
221-

man/growth_length_age.Rd

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

man/ypr_sel.Rd

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

0 commit comments

Comments
 (0)