Skip to content

Commit

Permalink
Couple more 'script' changes
Browse files Browse the repository at this point in the history
  • Loading branch information
weshinsley committed Jun 14, 2024
1 parent 190937a commit 8669395
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions vignettes/INLA.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,17 @@ unlink(tmpfile)
## Latest version of INLA for latest R version.

The current latest R version is 4.4. If you are using that version, then
you can either use the `provision.R` or the `pkgdepends` method.
you can either use the `script` or the `pkgdepends` method.

For `pkgdepends` method, you can can write in `pkgdepends.txt` :-
For `pkgdepends`, in your hipercow root you can write in `pkgdepends.txt` :-

```
repo::https://inla.r-inla-download.org/R/stable
INLA
```

For the `script` method, you instead write `provision.R` and paste
the code to install the package, which is the same as the local install:-
this code to install the package, which is the same as the local install:-

```
install.packages("INLA",
Expand All @@ -141,7 +141,7 @@ Then `hipercow_provision()` will work in the usual way. See `vignette("packages"

## Latest version of INLA for older R version

Here, the `provision.R` method above will work as before, but if you
Here, the `script` method above will work as before, but if you
prefer `pkgdepends`, you will have to be **specific** about
the version you want to install, and it **must** be the most recent
version for your R version. So for R 4.3, your `pkgdepends.txt`
Expand All @@ -156,5 +156,6 @@ because that is the latest version we see [here](https://inla.r-inla-download.or

## Specific version of INLA, where available.

See the instructions above for a local installation, and put your
script in `provision.R` and use `hipercow_provision()`.
See the instructions above for a local installation, put the
code in `provision.R` to use the `script` method with
`hipercow_provision()`.

0 comments on commit 8669395

Please sign in to comment.