Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
762f594
Inital commit of build functions with their associated error functions
benjaminhlina Jun 13, 2026
1a7baf4
minor change to the length of sahred_data_stan this fixes a build war…
benjaminhlina Jun 13, 2026
b87b331
minor roxygen formating
benjaminhlina Jun 13, 2026
6c2d432
fix documenation for build_counts and add in build_tsteps along with …
benjaminhlina Jun 13, 2026
6c6970a
Move `rstan::rstan_options(auto_write = TRUE)` and
benjaminhlina Jun 13, 2026
b87e9fd
add in build_rec_coords and build_rec_limits
benjaminhlina Jun 13, 2026
eca42d6
add build_time_bins
benjaminhlina Jun 14, 2026
a1510cf
add build_ntrans
benjaminhlina Jun 14, 2026
be21be3
add in nice message to print when aeqd is success
benjaminhlina Jun 14, 2026
41bb4f6
update all build_documentation
benjaminhlina Jun 14, 2026
2507735
Add check_unit, lubirdate to DESCRIPTIOn file and update error docume…
benjaminhlina Jun 14, 2026
07d44e0
Add in Parry Sound example data
benjaminhlina Jun 14, 2026
7271bad
Intial commit of new vignette
benjaminhlina Jun 14, 2026
a25b044
Roxygen moves Mike from being in Authors to Maintainer - I don't quit…
benjaminhlina Jun 14, 2026
fd422bf
Fix build functions documentation and update roxygen version
benjaminhlina Jun 14, 2026
f799566
Fix the documentation for build functions
benjaminhlina Jun 14, 2026
f168b64
update the rest of documenation
benjaminhlina Jun 14, 2026
71e269f
update _pkgdown.yml with new functions
benjaminhlina Jun 15, 2026
1747468
change to using detection_timestamp_utc
benjaminhlina Jun 15, 2026
a83c2a4
add in type into build_ntrans - add in checks to each function. Make …
benjaminhlina Jun 15, 2026
658ad3f
add thin = 5.
benjaminhlina Jun 15, 2026
c1ddbb7
add in check_utm to build_aeqd
benjaminhlina Jun 16, 2026
97093e3
add in custom_delay argument to use if someone wants to set the delay…
benjaminhlina Jun 16, 2026
edb6193
don't need arg names so I removed them from build function as default…
benjaminhlina Jun 16, 2026
7d77bfe
move core option back to functions as CRAN won't like a pkg setting a…
benjaminhlina Jun 16, 2026
36eeb97
Update check_aeqd and fix the fact that we had a duplicate of the fun…
benjaminhlina Jun 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@
^pkgdown$
^CNAME$
^air\.toml$
^src/StanExports_*
^src/StanExports_*
^[.]?air[.]toml$
^\.vscode$
3 changes: 3 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ Depends:
Imports:
cli,
dplyr,
lubridate,
methods,
RcppParallel (>= 5.0.1),
rlang,
rstan (>= 2.18.1),
rstantools (>= 2.4.0),
sf,
stats
Suggests:
ggplot2,
Expand Down Expand Up @@ -49,3 +51,4 @@ Roxygen: list(markdown = TRUE)
URL: https://telemetryspace.trackyverse.org, https://github.com/trackyverse/TelemetrySpace
BugReports: https://github.com/trackyverse/TelemetrySpace/issues
Config/roxygen2/version: 8.0.0
RoxygenNote: 8.0.0
8 changes: 8 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
export(COA_Standard)
export(COA_TagInt)
export(COA_TimeVarying)
export(build_aeqd)
export(build_counts)
export(build_ntrans)
export(build_pixel_grid)
export(build_rec_coords)
export(build_rec_limits)
export(build_time_bin)
export(build_tstep)
export(distf)
import(Rcpp)
import(methods)
Expand Down
4 changes: 0 additions & 4 deletions R/COA_Tag_Integrated.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ COA_TagInt <- function(
exp_len <- expected_lengths(recX = recX, recY = recY, ntest_len = ntest)

validate_standata(standata, exp_len)
# set rstan options
rstan::rstan_options(auto_write = TRUE)
# set coores - this probably should be an argument
options(mc.cores = parallel::detectCores())

# fit model
if (decay == "gaussian") {
fit_model <- rstan::sampling(
Expand Down
4 changes: 0 additions & 4 deletions R/COA_TimeVarying.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ COA_TimeVarying <- function(
exp_len <- expected_lengths(recX = recX, recY = recY)

validate_standata(standata, exp_len)

# set rstan options
rstan::rstan_options(auto_write = TRUE)
# set coores - this probably should be an argument
options(mc.cores = parallel::detectCores())

# fit model
Expand Down
3 changes: 0 additions & 3 deletions R/COA_standard.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ COA_Standard <- function(

validate_standata(standata, exp_len)

# set rstan options
rstan::rstan_options(auto_write = TRUE)
# set coores - this probably should be an argument
options(mc.cores = parallel::detectCores())

# fit model
Expand Down
Loading
Loading