Skip to content

Commit

Permalink
Merge pull request #60 from hugomflavio/to_cran
Browse files Browse the repository at this point in the history
actel 1.2.1
  • Loading branch information
hugomflavio authored Jan 6, 2021
2 parents 4725085 + 3e4746e commit ff3d2f5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 36 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: actel
Title: Acoustic Telemetry Data Analysis
Version: 1.2.0.9022
Version: 1.2.1
Authors@R: person("Hugo", "Flávio", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0002-5174-1197"))
Description: Designed for studies where animals tagged with acoustic tags are expected
to move through receiver arrays. This package combines the advantages of automatic sorting and checking
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Find out the main highlights of each update.

## Development
## actel 1.2.1

Fixes:
* Prevent crash in residency if the overall data period starts in winter time but the data for a given fish starts in summer time.
Expand Down
8 changes: 4 additions & 4 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
packageStartupMessage(paste0("-------------------------------------------------------------\n!!! A NEW VERSION of actel is available! (v.", inst.ver, " -> v.", new.ver[, "ReposVer"], ")\n!!! You should update actel before continuing.\n!!! You can update your packages by running update.packages()\n-------------------------------------------------------------\n"))
}

# temporary warning message
ctime <- file.info(find.package(pkgname, libname))$ctime
if (difftime(Sys.time(), ctime, units = "day") <= 7)
packageStartupMessage("---------------------------------------------------------------\n!!! IMPORTANT NOTE:\n!!!\n!!! A silent bug was found and fixed in migration() efficiency \n!!! calculations in this release. This bug did not affect all \n!!! datasets, and only impacted the efficiency calculations. \n!!! \n!!! If you have used migration() in actel < 1.2.0, I recommend \n!!! that you run the analyses again and compare the results, \n!!! to ensure these are correct. I am sorry if this caused any\n!!! inconvenience to you.\n!!!\n!!! (This message will stop being displayed in ", round(7 - difftime(Sys.time(), ctime, units = "day"), 0), " days)\n---------------------------------------------------------------\n")
# # temporary warning message
# ctime <- file.info(find.package(pkgname, libname))$ctime
# if (difftime(Sys.time(), ctime, units = "day") <= 7)
# packageStartupMessage("---------------------------------------------------------------\n!!! IMPORTANT NOTE:\n!!!\n!!! A silent bug was found and fixed in migration() efficiency \n!!! calculations in this release. This bug did not affect all \n!!! datasets, and only impacted the efficiency calculations. \n!!! \n!!! If you have used migration() in actel < 1.2.0, I recommend \n!!! that you run the analyses again and compare the results, \n!!! to ensure these are correct. I am sorry if this caused any\n!!! inconvenience to you.\n!!!\n!!! (This message will stop being displayed in ", round(7 - difftime(Sys.time(), ctime, units = "day"), 0), " days)\n---------------------------------------------------------------\n")
}

utils::globalVariables(c("example.spatial", "example.biometrics", "example.detections", "example.deployments"))
Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Here are some examples:

## Installing actel

**CRAN version: 1.2.0**
**CRAN version: 1.2.1**

actel is available on CRAN. To install the latest stable version, simply run:

Expand All @@ -95,10 +95,3 @@ After installing, you should read the package vignettes (i.e. the manual), which


<sup>* interactive code (i.e. code that expects user input) cannot be tested automatically using codecov and, as such, was excluded from the codecov scope.</sup>

<br/>

**Disclaimer:** Any bugs found in the dream-realm will not be fixed due to lack of reproducibility!

<sup>Wondering why this is here? see the replies to [this tweet :)](https://twitter.com/bonnie_ahr/status/1327234755608326146) </sup>

26 changes: 4 additions & 22 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
## Comments:

* I have changed my contact email, as I have switched institution.

* The missing package note for MacOS in R 3.6.3 corresponds to a non-essential
package for actel and failsafes are in place to prevent function failure
in its absense.

* On some of the CRAN checks run for actel 1.1.1, a note is issued regarding
* On some of the CRAN checks run for actel 1.2.0, a note is issued regarding
svglite being an unused dependency. While actel does not require svglite
directly, it is a necessary "suggested" package of ggplot2, and I want
to ensure that it is installed.
Expand All @@ -16,37 +14,21 @@
* Windows Server 2019 (on GitHub), R 3.6.3, 4.0.3 and devel
* Mac OS (on GitHub), R 3.6.3 and 4.0.3
* Ubuntu 16.04 (on GitHub), R 3.6.3 and 4.0.3
* local Windows 10, R 4.0.3
* Local Windows 10, R 4.0.3


## R CMD check results

On Windows Server (R 3.6.3, 4.0.3 and devel), Mac OS (R 4.0.3),
Ubuntu (R 3.6.3 and 4.0.3) and local Windows 10 (R 4.0.3):

0 errors | 0 warnings | 1 note

* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Hugo Flávio <[email protected]>'

New maintainer:
Hugo Flávio <[email protected]>
Old maintainer(s):
Hugo Flávio <[email protected]>
0 errors | 0 warnings | 0 notes

---

On Mac OS (R 3.6.3):

0 errors | 0 warnings | 2 notes

> checking CRAN incoming feasibility ... NOTE
Maintainer: 'Hugo Flávio <[email protected]>'
New maintainer:
Hugo Flávio <[email protected]>
Old maintainer(s):
Hugo Flávio <[email protected]>
0 errors | 0 warnings | 1 note

> checking package dependencies ... NOTE
Package suggested but not available for checking: ‘gWidgets2RGtk2’
Expand Down

0 comments on commit ff3d2f5

Please sign in to comment.