Skip to content

Commit 1d47d70

Browse files
committed
update instructions for updating {nert}
1 parent eaaa8df commit 1d47d70

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

README.Rmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,15 @@ cog_df
100100

101101
## Keeping {nert} Updated
102102

103-
{nert} is undergoing active development and is not yet on CRAN, so updating your installation with `update.packages()` won't work.
104-
You can keep {nert} up-to-date locally like so:
103+
{nert} is undergoing active development and is not yet on CRAN.
104+
If you installed {nert} using the R-Universe (the preferred method), you can keep {nert} up-to-date locally like so:
105105

106106
```{r eval=FALSE}
107-
pak::pak("AAGI-AUS/nert")
107+
update.packages()
108108
```
109109

110+
and answering `yes` or `y` when asked if you would like to upgrade {nert}.
111+
110112
## Note for Linux Installers
111113

112114
If you are using Linux, you will likely need to install several system-level libraries, {pak} will do it's best to install most of them but some may not be installable this way.

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ Extract Soil Moisture for Corrigin and Merriden, WA and Tamworth, NSW given lati
7979

8080
``` r
8181
library(terra)
82+
#> terra 1.8.54
83+
#>
84+
#> Attaching package: 'terra'
85+
#> The following object is masked from 'package:knitr':
86+
#>
87+
#> spin
8288
df <- structure(
8389
list(
8490
location = c("Corrigin", "Merredin", "Tamworth"),
@@ -102,14 +108,16 @@ cog_df
102108

103109
## Keeping {nert} Updated
104110

105-
{nert} is undergoing active development and is not yet on CRAN, so updating your installation with `update.packages()` won't work.
106-
You can keep {nert} up-to-date locally like so:
111+
{nert} is undergoing active development and is not yet on CRAN.
112+
If you installed {nert} using the R-Universe (the preferred method), you can keep {nert} up-to-date locally like so:
107113

108114

109115
``` r
110-
pak::pak("AAGI-AUS/nert")
116+
update.packages()
111117
```
112118

119+
and answering `yes` or `y` when asked if you would like to upgrade {nert}.
120+
113121
## Note for Linux Installers
114122

115123
If you are using Linux, you will likely need to install several system-level libraries, {pak} will do it's best to install most of them but some may not be installable this way.

0 commit comments

Comments
 (0)