Skip to content

Commit 32fba5e

Browse files
author
Mikkel Roald-Arbøl
committed
First v0.2 commit - animovement. Validators, tests, syntax changes
1 parent 4319da5 commit 32fba5e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1061735
-504
lines changed

DESCRIPTION

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Package: trackballr
1+
Package: animovement
22
Type: Package
3-
Title: R package for reading trackball data into a standard format
3+
Title: An R toolbox for analysing animal movement across space and time.
44
Version: 0.1.2
55
Authors@R:
66
person(
@@ -10,7 +10,7 @@ Authors@R:
1010
email = "[email protected]",
1111
comment = c(ORCID = "0000-0002-9998-0058")
1212
)
13-
Description: R package for reading trackball data into a standard format.
13+
Description: An R toolbox for analysing animal movement across space and time.
1414
License: MIT + file LICENSE
1515
Encoding: UTF-8
1616
LazyData: true
@@ -28,11 +28,13 @@ Suggests:
2828
Config/testthat/edition: 3
2929
Imports:
3030
cli,
31+
collapse,
3132
dplyr,
3233
rlang,
3334
tidyr,
3435
vroom,
3536
zoo
37+
Roxygen: list(markdown = TRUE)
3638
RoxygenNote: 7.3.2
37-
URL: http://www.roald-arboel.com/trackballr/
39+
URL: http://www.roald-arboel.com/animovement/
3840
VignetteBuilder: knitr

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
YEAR: 2024
2-
COPYRIGHT HOLDER: trackballr authors
2+
COPYRIGHT HOLDER: animovement authors

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright (c) 2024 trackballr authors
3+
Copyright (c) 2024 animovement authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

NAMESPACE

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Generated by roxygen2: do not edit by hand
22

33
export(compute_kinematics)
4+
export(compute_statistics)
45
export(read_trackball)
56
export(smooth_track)
7+
export(validate_animalta)
8+
export(validate_deeplabcut_csv)
9+
export(validate_files)
10+
export(validate_time)
11+
export(validate_trackball)
612
import(dplyr)
713
importFrom(cli,cli_abort)
14+
importFrom(collapse,fmean)
815
importFrom(rlang,":=")
916
importFrom(rlang,.data)
10-
importFrom(stats,median)
1117
importFrom(vroom,vroom)
1218
importFrom(zoo,rollmean)

NEWS.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# animovement 0.2.0
2+
3+
**Package name changed to `animovement`!** To reflect the change in scope of the package to now cover a wide variety of movement data, the package has changed its name. This was a conscious decision as maintaining two packages with similar functionality wouldn't be feasible long-term. The new update brings with it a wealth of new functionality, but also a lot of breaking changes. With this update, the package aligns much closer to my vision for it, and I expect no more major breaking changes in the near future. So let's delve in to all the new stuff!
4+
5+
* Much improved documentation
6+
* Added new readers `read_deeplabcut()`, `read_sleap()`, `read_trex()`...
7+
* Standardised data cleaning with `smooth_tracks()`
8+
*
9+
* More tests
10+
11+
Although this is annoying to current users, it was a necessity to ensure proper testing of all the various functions which have now been broken into smaller subsets. If you still need the former `trackballr` package functionality, you can download the source files in Github and [install from source](https://stackoverflow.com/a/1474125).
12+
13+
If you encounter bugs, please report them in the [Github issues](https://github.com/roaldarbol/animovement/issues).
14+
115
# trackballr 0.1.2
216

317
* Added tests for `read_trackball_data`
File renamed without changes.

R/read_animalta.R

Whitespace-only changes.

R/read_data.R

-174
This file was deleted.

R/read_deeplabcut.R

Whitespace-only changes.

R/read_movement.R

Whitespace-only changes.

R/read_sleap.R

Whitespace-only changes.

0 commit comments

Comments
 (0)