Skip to content

Commit c08ef88

Browse files
committed
v2.0.6.9027
refactor: Update readme examples to use remotes instead of devtools package
1 parent ff767fe commit c08ef88

File tree

7 files changed

+47
-28
lines changed

7 files changed

+47
-28
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: ContDataQC
22
Title: Quality Control (QC) of Continous Monitoring Data
3-
Version: 2.0.6.9026
3+
Version: 2.0.6.9027
44
Authors@R: c(
55
person("Erik W", "Leppo", email="[email protected]",role=c("aut","cre")),
66
person("Ann","Roseberry Lincoln", role="ctb"),

NEWS

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@ NEWS-ContDataQC
33

44
<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->
55

6-
#> Last Update: 2022-06-15 17:01:04
6+
#> Last Update: 2022-06-15 17:06:19
77

88
# Version History
99

10+
## v2.0.6.9027
11+
12+
2022-06-15
13+
14+
- refactor: Update readme examples to use remotes instead of devtools
15+
package
16+
1017
## v2.0.6.9026
1118

1219
2022-06-15

NEWS.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@ NEWS-ContDataQC
33

44
<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->
55

6-
#> Last Update: 2022-06-15 17:01:04
6+
#> Last Update: 2022-06-15 17:06:19
77

88
# Version History
99

10+
## v2.0.6.9027
11+
12+
2022-06-15
13+
14+
- refactor: Update readme examples to use remotes instead of devtools
15+
package
16+
1017
## v2.0.6.9026
1118

1219
2022-06-15

NEWS.rmd

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ cat(paste0("Last Update: ",Sys.time()))
2121

2222
# Version History
2323

24+
## v2.0.6.9027
25+
2022-06-15
26+
27+
* refactor: Update readme examples to use remotes instead of devtools package
28+
2429
## v2.0.6.9026
2530
2022-06-15
2631

README.Rmd

+10-10
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ logger with 30 minute intervals.
3939
To install the current version of the code from GitHub use the example below.
4040

4141
```{r Install_Basic, eval=FALSE}
42-
if(!require(devtools)){install.packages("devtools")} #install if needed
43-
devtools::install_github("leppott/ContDataQC")
42+
if(!require(remotes)){install.packages("remotes")} #install if needed
43+
remotes::install_github("leppott/ContDataQC")
4444
```
4545

4646
The vignette (big help file) isn't created when installing from GitHub with the
@@ -51,8 +51,8 @@ existing install of the same version (e.g., the same version without the
5151
vignettes).
5252

5353
```{r Install_Vignette, eval=FALSE}
54-
if(!require(devtools)){install.packages("devtools")} #install if needed
55-
devtools::install_github("leppott/ContDataQC", force = TRUE, build_vignettes = TRUE)
54+
if(!require(remotes)){install.packages("remotes")} #install if needed
55+
remotes::install_github("leppott/ContDataQC", force = TRUE, build_vignettes = TRUE)
5656
```
5757

5858
If dependent libraries do not install you can install them separately. This
@@ -62,7 +62,7 @@ then retry installing ContDataQC.
6262

6363
```{r Pkg_CRAN, eval=FALSE}
6464
# libraries to be installed
65-
pkg <- c("devtools" # install helper for non CRAN libraries
65+
pkg <- c("remotes" # install helper for non CRAN libraries
6666
, "installr" # install helper
6767
, "digest" # caused error in R v3.2.3 without it
6868
, "dataRetrieval" # loads USGS data into R
@@ -90,13 +90,13 @@ pkg <- c("devtools" # install helper for non CRAN libraries
9090
lapply(pkg, function(x) install.packages(x))
9191
```
9292

93-
Non-CRAN packages have to be installed separately from GitHub using devtools.
93+
Non-CRAN packages have to be installed separately from GitHub using remotes.
9494

9595
```{r Pkg_GitHub, eval=FALSE}
96-
if(!require(devtools)){install.packages("devtools")} #install if needed
96+
if(!require(remotes)){install.packages("remotes")} #install if needed
9797
# non-CRAN packages
98-
devtools::install_github("jasonelaw/iha", force = TRUE, build_vignettes = TRUE)
99-
devtools::install_github("tsangyp/StreamThermal", force = TRUE, build_vignettes = TRUE)
98+
remotes::install_github("jasonelaw/iha", force = TRUE, build_vignettes = TRUE)
99+
remotes::install_github("tsangyp/StreamThermal", force = TRUE, build_vignettes = TRUE)
100100
```
101101

102102
Additionally Pandoc is required for creating the reports and needs to be
@@ -210,7 +210,7 @@ dependent packages are not installed the vignette will fail to build. See above
210210
for installing packages.
211211

212212
```{r Install_Vignette2, eval=FALSE}
213-
library(devtools)
213+
library(remotes)
214214
install_github("leppott/ContDataQC", force=TRUE, build_vignettes=TRUE)
215215
```
216216

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ README-ContDataQC
33

44
<!-- README.md is generated from README.Rmd. Please edit that file -->
55

6-
#> Last Update: 2021-04-02 21:13:00
6+
#> Last Update: 2022-06-15 17:05:50
77

88
# ContDataQC
99

@@ -35,8 +35,8 @@ To install the current version of the code from GitHub use the example
3535
below.
3636

3737
``` r
38-
if(!require(devtools)){install.packages("devtools")} #install if needed
39-
devtools::install_github("leppott/ContDataQC")
38+
if(!require(remotes)){install.packages("remotes")} #install if needed
39+
remotes::install_github("leppott/ContDataQC")
4040
```
4141

4242
The vignette (big help file) isn’t created when installing from GitHub
@@ -47,8 +47,8 @@ install over and existing install of the same version (e.g., the same
4747
version without the vignettes).
4848

4949
``` r
50-
if(!require(devtools)){install.packages("devtools")} #install if needed
51-
devtools::install_github("leppott/ContDataQC", force = TRUE, build_vignettes = TRUE)
50+
if(!require(remotes)){install.packages("remotes")} #install if needed
51+
remotes::install_github("leppott/ContDataQC", force = TRUE, build_vignettes = TRUE)
5252
```
5353

5454
If dependent libraries do not install you can install them separately.
@@ -58,7 +58,7 @@ packages below and then retry installing ContDataQC.
5858

5959
``` r
6060
# libraries to be installed
61-
pkg <- c("devtools" # install helper for non CRAN libraries
61+
pkg <- c("remotes" # install helper for non CRAN libraries
6262
, "installr" # install helper
6363
, "digest" # caused error in R v3.2.3 without it
6464
, "dataRetrieval" # loads USGS data into R
@@ -87,13 +87,13 @@ lapply(pkg, function(x) install.packages(x))
8787
```
8888

8989
Non-CRAN packages have to be installed separately from GitHub using
90-
devtools.
90+
remotes.
9191

9292
``` r
93-
if(!require(devtools)){install.packages("devtools")} #install if needed
93+
if(!require(remotes)){install.packages("remotes")} #install if needed
9494
# non-CRAN packages
95-
devtools::install_github("jasonelaw/iha", force = TRUE, build_vignettes = TRUE)
96-
devtools::install_github("tsangyp/StreamThermal", force = TRUE, build_vignettes = TRUE)
95+
remotes::install_github("jasonelaw/iha", force = TRUE, build_vignettes = TRUE)
96+
remotes::install_github("tsangyp/StreamThermal", force = TRUE, build_vignettes = TRUE)
9797
```
9898

9999
Additionally Pandoc is required for creating the reports and needs to be
@@ -158,13 +158,13 @@ setwd(myDir.BASE)
158158

159159
# Planned Updates
160160

161-
- ~~Spell out “AW”" and other abbreviations (e.g.,
161+
- ~~Spell out “AW” and other abbreviations (e.g.,
162162
AirWater). 20170308. On hold.~~
163163

164164
- ~~Gaps in data not always evident in the plots. 20170308.~~
165165

166166
- ~~Use futile.logger to better log output for user. Issue
167-
\#29. 20170606.~~
167+
#29. 20170606.~~
168168

169169
- Debug Aggregate operation. 20170919.
170170

@@ -210,7 +210,7 @@ much easier to use the code below to call the vignette by name. There is
210210
also be a link to the vignette at the top of the help index for the
211211
package.
212212

213-
“C:\\Programs\\R\\R-3.4.2\\library\\ContDataQC\\doc\\ContDataQC\_Vignette.html”
213+
“C:\\Programs\\R\\R-3.4.2\\library\\ContDataQC\\doc\\ContDataQC_Vignette.html”
214214

215215
``` r
216216
vignette("ContDataQC_Vignette", package="ContDataQC")
@@ -222,7 +222,7 @@ above if dependent packages are not installed the vignette will fail to
222222
build. See above for installing packages.
223223

224224
``` r
225-
library(devtools)
225+
library(remotes)
226226
install_github("leppott/ContDataQC", force=TRUE, build_vignettes=TRUE)
227227
```
228228

inst/shiny-examples/ContDataQC/ui.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ tab_9Status <- source("external/tab_9Status.R", local = TRUE)$value
2929

3030
shinyUI(
3131
# VERSION ----
32-
navbarPage("Continuous data QC, summary, and statistics - v2.0.6.9026",
32+
navbarPage("Continuous data QC, summary, and statistics - v2.0.6.9027",
3333
theme= shinytheme("spacelab")
3434
,tab_1Overview()
3535
,tab_2DataPrep()

0 commit comments

Comments
 (0)