Skip to content

Commit

Permalink
v0.5.4 Generic 'st_coordinates' + CITATION.
Browse files Browse the repository at this point in the history
  • Loading branch information
basille committed Mar 16, 2023
1 parent f24e1da commit 556456c
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 14 deletions.
2 changes: 1 addition & 1 deletion R/misc_util.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ coord_traj <- function(traj) {
}

#' @export
st_coordinates.sftraj <- function(x, return = "all") {
st_coordinates.sftraj <- function(x, return = "all", ...) {
# x = my_sftraj
pts <- sf::st_geometry(x)

Expand Down
24 changes: 24 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,38 @@ This solves the issue mentioned by CRAN maintainers on 2023-03-08 and
## Test environments

* local: Ubuntu 22.04.2 LTS, R version 4.2.2 Patched (2022-11-10 r83330)
* GitHub Actions: windows-latest (R-release), macOS-latest (R-release), and
ubuntu-latest (R-release, R-oldrelease, and R-devel)
* win-builder: R-release (R-4.2.2), R-oldrelease (R-4.1.3), R-devel (to be
R-4.3.0)


## R CMD check results

* local:

0 errors ✔ | 0 warnings ✔ | 0 notes ✔


* win-builder (R-release):

0 errors ✔ | 0 warnings ✔ | 0 notes ✔

* win-builder (R-oldrelease):

0 errors ✔ | 0 warnings ✔ | 1 note ×

- checking CRAN incoming feasibility ... NOTE
Maintainer: 'Mathieu Basille <mathieu@basille.org>'

Possibly mis-spelled words in DESCRIPTION:
Calenge (34:46)
Turchin (34:5)
al (34:57)
et (34:54)

--> These are all fine words (including authors' names).


## Downstream dependencies

Expand Down
39 changes: 26 additions & 13 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,31 @@ note <- sprintf("R package version %s", meta$Version)

citHeader("To cite 'sftrack' in publications use:")

citEntry(entry = "Manual",
title = "{sftrack}: Modern Classes for Tracking and Movement Data",
author = personList(as.person("Matthew Boone"),
as.person("Rocío Joo"),
as.person("Mathieu Basille")),
year = year,
note = note,
url = "https://mablab.org/sftrack/",
bibentry("Manual",
title = "{sftrack}: Modern Classes for Tracking and Movement Data",
author = c(
person(given = "Matthew",
family = "Boone",
role = "aut",
email = "mttboone@gmail.com",
comment = structure("0000-0002-8070-4715", .Names = "ORCID")),
person(given = "Rocío",
family = "Joo",
role = "aut",
email = "rocio.joo@globalfishingwatch.org",
comment = structure("0000-0003-0319-4210", .Names = "ORCID")),
person(given = "Mathieu",
family = "Basille",
role = c("aut", "cre"),
email = "mathieu@basille.org",
comment = structure("0000-0001-9366-7127", .Names = "ORCID"))),
year = year,
note = note,
url = "https://mablab.org/sftrack/",

textVersion = paste0(
"Matthew Boone, Rocío Joo and Mathieu Basille (",
year,
"). sftrack: Modern classes for tracking and movement data. ",
note, ". https://mablab.org/sftrack/")
textVersion = paste0(
"Matthew Boone, Rocío Joo and Mathieu Basille (",
year,
"). sftrack: Modern classes for tracking and movement data. ",
note, ". https://mablab.org/sftrack/")
)

0 comments on commit 556456c

Please sign in to comment.