Skip to content

Commit

Permalink
full update to 1.2-06
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Jonsen committed Jun 5, 2024
1 parent b1104b0 commit 8dbaa53
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: aniMotum
Title: Fit Continuous-Time State-Space and Latent Variable Models for Quality Control of Argos Satellite (and Other) Telemetry Data and for Estimating Changes in Animal Movement
Version: 1.2-06
Date: 2024-06-04
Date: 2024-06-05
Authors@R:
c(
person(given = "Ian",
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# aniMotum 1.2-06 (05/06/2024)

* various minor issues fixed including: build against TMB 1.9.11, fixes error when grad specified in `sim_fit()`.


# aniMotum 1.2 (03/11/2023)

* addition of `sim_post()`, a function for posterior simulations from SSM fits, conditional on data and movement parameters
Expand Down
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ options(repos = c(ianjonsen = 'https://ianjonsen.r-universe.dev',
```

### READ THIS CAREFULLY if you are unsure about compiler tools:
If you don't have compiler tools installed, are uncertain if you do, or have trouble getting them to work then you can manually download a binary version of the `{aniMotum}` package for Windows or Mac from here https://ianjonsen.r-universe.dev/ui#package:aniMotum. There are 3 binary versions for Windows corresponding to a different major release of R, choose the one that matches your R version. You can check your R version by typing `R.Version()` in the R console. There are 4 binary versions for Macs, 2 for Arm 64 Macs (ie. M1 - Mx Macs) and 2 for Intel Macs (x86_64), within these 2 classes there are 2 versions for the latest release version of R and the previous version.
If you don't have compiler tools installed, are uncertain if you do, or have trouble getting them to work then you can manually download a binary version of the `{aniMotum}` package for Windows or Mac from here https://ianjonsen.r-universe.dev/aniMotum. There are 3 binary versions for Windows corresponding to a different major release of R, choose the one that matches your R version. You can check your R version by typing `R.Version()` in the R console. There are 4 binary versions for Macs, 2 for Arm 64 Macs (ie. M1 - Mx Macs) and 2 for Intel Macs (x86_64), within these 2 classes there are 2 versions for the latest release version of R and the previous version.

When downloading the binary version on a Mac, it is important to right click and choose "Download Linked File As..." so that the file isn't automatically uncompressed. If you have downloaded the file correctly, its extension will be `.tgz`, **not** `.tar`. You can use the following command in the R console to install the file you've just downloaded (where `path_to_file` is wherever you saved the download):
```{r, eval=FALSE}
# for Windows
install.packages("path_to_file\aniMotum_1.2-05.zip",
install.packages("path_to_file\aniMotum_1.2-06.zip",
repos=NULL, type="win.binary", dependencies = TRUE)
# for Mac
install.packages("path_to_file/aniMotum_1.2-05.tgz",
install.packages("path_to_file/aniMotum_1.2-06.tgz",
repos=NULL, type="mac.binary", dependencies = TRUE)
```
Expand Down
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ options(repos = c(ianjonsen = 'https://ianjonsen.r-universe.dev',
If you don’t have compiler tools installed, are uncertain if you do, or
have trouble getting them to work then you can manually download a
binary version of the `{aniMotum}` package for Windows or Mac from here
<https://ianjonsen.r-universe.dev/ui#package:aniMotum>. There are 3
binary versions for Windows corresponding to a different major release
of R, choose the one that matches your R version. You can check your R
version by typing `R.Version()` in the R console. There are 4 binary
versions for Macs, 2 for Arm 64 Macs (ie. M1 - Mx Macs) and 2 for Intel
Macs (x86_64), within these 2 classes there are 2 versions for the
latest release version of R and the previous version.
<https://ianjonsen.r-universe.dev/aniMotum>. There are 3 binary versions
for Windows corresponding to a different major release of R, choose the
one that matches your R version. You can check your R version by typing
`R.Version()` in the R console. There are 4 binary versions for Macs, 2
for Arm 64 Macs (ie. M1 - Mx Macs) and 2 for Intel Macs (x86_64), within
these 2 classes there are 2 versions for the latest release version of R
and the previous version.

When downloading the binary version on a Mac, it is important to right
click and choose “Download Linked File As…” so that the file isn’t
Expand All @@ -98,11 +98,11 @@ command in the R console to install the file you’ve just downloaded

``` r
# for Windows
install.packages("path_to_file\aniMotum_1.2-05.zip",
install.packages("path_to_file\aniMotum_1.2-06.zip",
repos=NULL, type="win.binary", dependencies = TRUE)

# for Mac
install.packages("path_to_file/aniMotum_1.2-05.tgz",
install.packages("path_to_file/aniMotum_1.2-06.tgz",
repos=NULL, type="mac.binary", dependencies = TRUE)
```

Expand Down Expand Up @@ -188,6 +188,9 @@ map(fit,
crs = "+proj=stere +lon_0=68 +units=km +datum=WGS84")
```

#> Warning: Package `magick` is required to draw images. Image not drawn.
#> Warning: Package `magick` is required to draw images. Image not drawn.

<img src="man/figures/README-explots2-1.png" width="100%" />

Southern elephant seal silhouettes kindly provided by:
Expand Down
Binary file modified man/figures/README-ex1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-explots2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8dbaa53

Please sign in to comment.