Skip to content

Commit

Permalink
Getting Ready for v0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
droglenc committed Dec 19, 2023
1 parent aae912b commit 2f89963
Show file tree
Hide file tree
Showing 56 changed files with 332 additions and 63 deletions.
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# RFishBC 0.2.7 18-Dec-2023
* Updated my e-mail address.
# RFishBC 0.2.7
* Updated my (DHO) e-mail address in description and all `@author` tags in the documentation files.
* Removed use of `captioner` package in vignettes as it is no longer available on CRAN (address [#54](https://github.com/fishR-Core-Team/RFishBC/issues/54)).
* Removed `itemize()` in `@return` section of `digitizeRadii()` documentation (addresses note in R-devel CRAN check).
* Replaced `itemize()` with `describe()` in `@details` section of `RFBCoptions()` documentation (addresses note in R-devel CRAN check).
Expand All @@ -10,7 +10,7 @@
* `saveDigitizedImage()`: Added (address [#44](https://github.com/fishR-Core-Team/RFishBC/issues/44)).
* `showDigitizedImage()`: Added `Encoding()` to unicode "arrows" for plotting to address an issue in the upcoming R v4.4.0 (will address [#59](https://github.com/fishR-Core-Team/RFishBC/issues/59)).

# RFishBC 0.2.6 28-Aug-2023
# RFishBC 0.2.6
* Updated `test-coverage.yaml` to [latest version](https://github.com/r-lib/actions/blob/v2/examples/test-coverage.yaml).
* Updated `pkgdown.yaml` to [latest version](https://github.com/r-lib/actions/blob/v2/examples/pkgdown.yaml).
* `listFiles()`: Corrected URL errors in documentation.
Expand Down
2 changes: 1 addition & 1 deletion R/RFBCoptions.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#'
#' @seealso \code{\link{digitizeRadii}} and \code{\link{showDigitizedImage}}
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/aStandard.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' @param species A string that contains the species name for which to find teh standard intercept value.
#' @return A single value from \code{\link{StdIntLit}} that is the standard intercept value (a; mm) for the species provided in \code{species}.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @seealso \code{\link{StdIntLit}}
#'
Expand Down
4 changes: 2 additions & 2 deletions R/addFindNotes.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#'
#' @details A detailed description of its use is in the "Other Features" vignette on the \href{https://fishr-core-team.github.io/RFishBC/index.html}{RFishBC website}.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down Expand Up @@ -42,7 +42,7 @@ addNote <- function(nms,note) {
#'
#' @details A detailed description of its use is in the "Other Features" vignette on the \href{https://fishr-core-team.github.io/RFishBC/index.html}{RFishBC website}.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down
6 changes: 5 additions & 1 deletion R/backCalc.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @param BCM A single numeric between 1 and 22 or a string that indicates which model to use (based on numbers and names in Vigliola and Meekan (2009)). See Details in \code{\link{bcFuns}} for the list of available models.
#' @param a The fish length when the structure first forms as used in the Fraser-Lee model (i.e., \code{BCM=1} or \code{BCM="FRALE"}). If this is missing then \code{a} will be estimated as the intercept from the fish length on structure radius linear regression.
#' @param L0p The length at the \dQuote{Biological Intercept} point. Only used in the \dQuote{Biological Intercept} (\code{BCM=3}), \dQuote{Watanabe and Kuroki} (\code{BCM=12}), and \dQuote{Modified Fry} (\code{BCM=14}) models.
#' @param R0p The stucture radius at the \dQuote{Biological Intercept} point. Only used in the \dQuote{Biological Intercept} (\code{BCM=3}), \dQuote{Watanabe and Kuroki} (\code{BCM=12}), and \dQuote{Modified Fry} (\code{BCM=14}) models.
#' @param R0p The structure radius at the \dQuote{Biological Intercept} point. Only used in the \dQuote{Biological Intercept} (\code{BCM=3}), \dQuote{Watanabe and Kuroki} (\code{BCM=12}), and \dQuote{Modified Fry} (\code{BCM=14}) models.
#' @param L0 The length at the arbitrarily selected point in the \dQuote{Fry} (\code{BCM=13}) model.
#' @param R0 The structure radius at the arbitrarily selected point in the \dQuote{Fry} (\code{BCM=13}) model.
#' @param inFormat The format of the data in \code{dat}. The two choices are \code{"long"} with one radial measurement per line (and all radial measurements for a fish in separate rows) and \code{"wide"} with one fish per line (and all radial measurements in separate variables). Defaults to \code{"long"}.
Expand All @@ -17,6 +17,10 @@
#'
#' @return A data.frame similar to \code{dat} but with the radial measurements replaced by back-calculated lengths at previous ages.
#'
#' @author Derek H. Ogle, \email{[email protected]}
#'
#' @keywords manip
#'
#' @examples
#' ## Get some data
#' data(SMBassWB1,package="RFishBC") ## fish data
Expand Down
2 changes: 1 addition & 1 deletion R/bcFuns.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#' }
#' @return A function that can be used to predict length at previous age (Li) given length-at-capture (Lcap), hard-part radius-at-age i (Ri), and hard-part radius-at-capture (Rcap). In addition, some functions/models may require the previous age (agei) and the age-at-capture (agec), certain parameters related to the biological intercept (R0p & L0p), or certain parameters estimated from various regression models (a,b,c,A,B,C). See source for more information.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @section IFAR Supplement: \url{https://derekogle.com/IFAR/supplements/backcalculation.html}
#'
Expand Down
2 changes: 1 addition & 1 deletion R/combineData.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#'
#' @details A detailed description of its use is in \href{https://fishr-core-team.github.io/RFishBC/articles/collectRadiiData.html}{this vignette} on the \href{https://fishr-core-team.github.io/RFishBC/index.html}{RFishBC website}. The list of R data file names may be efficiently created with \code{\link{listFiles}} as described in that vignette. The R data file names may also be selected from a dialog box if using Windows.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/digitizeRadii.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#'
#' @seealso \code{\link{showDigitizedImage}} and \code{\link{RFBCoptions}}.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}.
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}.
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/findScalingFactor.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#'
#' @return A single numeric that is the scaling factor (a multiplier that is used to convert image lengths to actual lengths).
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/getID.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#'
#' @return Character vector.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down
6 changes: 3 additions & 3 deletions R/growthDataUtils.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#'
#' The newly computed data will be labeled with a prefix the same as \code{out.type=} (i.e., \code{"rad"} or \code{"inc"}) unless \code{out.pre=} is set by the user. For example, if the data are converted to radial measurements, then the output variables will be \dQuote{rad1}, \dQuote{rad2}, etc. unless \code{out.pre=} was changed from the default. This function assumes that the measurements start with age-1.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @seealso See \code{\link{addRadCap}} for related functionality.
#'
Expand Down Expand Up @@ -92,7 +92,7 @@ gConvert<-function(df,in.pre=NULL,in.var=NULL,
#'
#' @seealso See \code{\link{gConvert}} for related functionality.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @keywords manip
#'
Expand Down Expand Up @@ -147,4 +147,4 @@ bcUtilChecker <- function(df,in.pre,in.var) {
}
## Return in.var
in.var
}
}
2 changes: 1 addition & 1 deletion R/listFiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#'
#' @return Character vector.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/saveDigitizedImage.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#'
#' @seealso \code{\link{showDigitizedImage}}, \code{\link{digitizeRadii}}, \code{\link{RFBCoptions}}, and \code{\link{jpeg}}, \code{\link{png}}, and \code{\link{pdf}}.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/showDigitizedImage.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#'
#' @seealso \code{\link{digitizeRadii}} and \code{\link{RFBCoptions}}.
#'
#' @author Derek H. Ogle, \email{derek@@derekogle.com}
#' @author Derek H. Ogle, \email{DerekOgle51@gmail.com}
#'
#' @export
#'
Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ reference:
- RFBCoptions
- digitizeRadii
- showDigitizedImage
- saveDigitizedImage
- combineData
- findScalingFactor
- title: Back-calculation
Expand Down
9 changes: 9 additions & 0 deletions cran-comments/cran-comments-v0_2_7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
* This updates the RFishBC package that was archived earlier this month. This fixes all errors and notes that caused the archive, and includes some other updates. Importantly my e-mail address has been updated throughout (this may be why I did not receive notice from CRAN about the errors that caused the archiving).

## Notes
* If there is a note about "fishBC" being misspelled in the description, then note that this is not a misspelling.

## Testing Environments
* My Windows machine.
* Win Builder -- old-release, release, and development.
* GitHub Action (R-CMD-check.yaml)
2 changes: 1 addition & 1 deletion docs/articles/BCCalc.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/BCIntro.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/BCWorkflow.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/Other.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/collectRadiiData.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/seeRadiiData.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ articles:
collectRadiiData: collectRadiiData.html
Other: Other.html
seeRadiiData: seeRadiiData.html
last_built: 2023-12-18T13:52Z
last_built: 2023-12-19T13:51Z
urls:
reference: https://fishr-core-team.github.io/RFishBC/reference
article: https://fishr-core-team.github.io/RFishBC/articles
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/RFBCoptions.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/aStandard.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/addNote.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/addRadCap.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion docs/reference/backCalc.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2f89963

Please sign in to comment.