Skip to content

Commit

Permalink
Added a warning to digitizeRadii()
Browse files Browse the repository at this point in the history
  • Loading branch information
droglenc committed Nov 10, 2018
1 parent 57a3fa6 commit f667dd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RFishBC
Version: 0.1.0.9000
Date: 2018-11-7
Date: 2018-11-10
Title: Back-Calculation of Fish Length
Authors@R: person("Derek","Ogle",
email="[email protected]",
Expand All @@ -9,7 +9,7 @@ Authors@R: person("Derek","Ogle",
Description: Helps fisheries scientists collect measurements from calcified
structures and back-calculate estimated lengths at previous ages. This
is intended to replace much of the functionality provided by the
now out-dated fishBC software.
now out-dated 'fishBC' software.
URL: http://derekogle.com/RFishBC
BugReports: https://github.com/droglenc/RFishBC/issues
License: GPL-3
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# RFishBC 0.1.0.9000 ongoing
* Removed automatic webpage construction from Travis-CI. Did not work with some of the update vignettes.
* Put fishBC in the Description field into single quotes as directed by CRAN.
* `digitizeRadii()`. Modified. Added a note that draws attention when `snap2Transect=TRUE` and `showTransect=FALSE` (i.e., "snapping" to a transect that is not shown). At least partially addresses [#30](https://github.com/droglenc/RFishBC/issues/30).

# RFishBC 0.1.0 7-Nov-18
* `iSnap2Transect()`: Modified. Changed to handle bugs related to perfectly vertical or perfectly horizontal transects. Addresses [#27](https://github.com/droglenc/RFishBC/issues/27) (Thanks to Ben Neely).
Expand Down
5 changes: 5 additions & 0 deletions R/digitizeRadii.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ digitizeRadii <- function(img,id,reading,suffix,
if (missing(lwd.scaleBar)) lwd.scaleBar <- iGetopt("lwd.scaleBar")
if (missing(showTransect)) showTransect<- iGetopt("showTransect")
if (missing(snap2Transect)) snap2Transect<- iGetopt("snap2Transect")
if (snap2Transect & !showTransect) {
cat("\n!! NOTE that points will be 'snapped' to a transect that is not shown\n",
"!! because 'showTtransect=FALSE' and 'snap2Transect=TRUE'.\n\n",
sep="")
}
if (missing(col.transect)) col.transect <- iGetopt("col.transect")
if (missing(lwd.transect)) lwd.transect <- iGetopt("lwd.transect")
if (missing(pch.sel)) pch.sel <- iGetopt("pch.sel")
Expand Down

0 comments on commit f667dd0

Please sign in to comment.