Skip to content

Commit

Permalink
v2.0.5
Browse files Browse the repository at this point in the history
Updated release version.
  • Loading branch information
leppott committed Dec 13, 2018
1 parent 839391f commit a7f00c8
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 33 deletions.
62 changes: 31 additions & 31 deletions .Rhistory
Original file line number Diff line number Diff line change
@@ -1,34 +1,3 @@
,ContData.env$myThresh.Flat.Tolerance.AirTemp)
#
}##IF.myField.END
#
# B.6.03. WaterP
myField <- ContData.env$myName.WaterP
if(myField %in% myNames.DataFields.Present==TRUE){##IF.myField.START
#
myMsg.data <- "WaterP"
myMsg <- paste("WORKING (QC Tests and Flags - ",myMsg.data,")",sep="")
myItems.Complete <- myItems.Complete + 1
myItems.Log[intCounter,2] <- myMsg
fun.Msg.Status(myMsg, intCounter, intItems.Total, strFile)
flush.console()
#
data.import <- fun.CalcQCStats(data.import
,myField
,ContData.env$myThresh.Gross.Fail.Hi.WaterP
,ContData.env$myThresh.Gross.Fail.Lo.WaterP
,ContData.env$myThresh.Gross.Suspect.Hi.WaterP
,ContData.env$myThresh.Gross.Suspect.Lo.WaterP
,ContData.env$myThresh.Spike.Hi.WaterP
,ContData.env$myThresh.Spike.Lo.WaterP
,ContData.env$myThresh.RoC.SD.period.WaterP
,ContData.env$myThresh.RoC.SD.number.WaterP
,ContData.env$myThresh.Flat.Hi.WaterP
,ContData.env$myThresh.Flat.Lo.WaterP
,ContData.env$myThresh.Flat.Tolerance.WaterP)
#
}##IF.myField.END
#
# B.6.04. AirP
myField <- ContData.env$myName.AirBP
if(myField %in% myNames.DataFields.Present==TRUE){##IF.myField.START
Expand Down Expand Up @@ -510,3 +479,34 @@ setwd(paste0("./",myLibrary))
pkg <- "ContDataQC"
library(pkg, character.only = TRUE)
help(package=(pkg))
# NEWS
# Render then Copy NEWS so picked up in help
rmarkdown::render("NEWS.rmd", "all")
file.copy("NEWS.md", "NEWS", overwrite = TRUE)
file.remove("NEWS.html")
file.remove("NEWS.md")
#
# Library Name
myLibrary <- "ContDataQC"
# Load Library
library(devtools)
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Create Package
# create(myLibrary)
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Document, Install, and Reload Library
## Generate Documentation
setwd(paste0("./",myLibrary))
devtools::document()
## Install New Package (locally)
setwd("..") # return to root directory first
devtools::install(myLibrary)
## Reload library
library(myLibrary,character.only = TRUE)
# change wd back to package
setwd(paste0("./",myLibrary))
pkg <- "ContDataQC"
library(pkg, character.only = TRUE)
help(package=(pkg))
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ContDataQC
Title: Quality Control (QC) of Continous Monitoring Data
Version: 2.0.4.9002
Version: 2.0.5
Authors@R: c(
person("Erik W.", "Leppo", email="[email protected]",role=c("aut","cre")),
person("Ann","Roseberry Lincoln", role="ctb"),
Expand Down
8 changes: 7 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NEWS-ContDataQC

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

#> Last Update: 2018-12-13 09:57:33
#> Last Update: 2018-12-13 10:06:49

# Planned Updates

Expand Down Expand Up @@ -35,6 +35,12 @@ NEWS-ContDataQC

# Version History

## v2.0.5

2018-12-13

- Revised release including vignette.

## v2.0.4.9002

2018-12-13
Expand Down
5 changes: 5 additions & 0 deletions NEWS.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ cat(paste0("Last Update: ",Sys.time()))

# Version History

## v2.0.5
2018-12-13

* Revised release including vignette.

## v2.0.4.9002
2018-12-13

Expand Down

0 comments on commit a7f00c8

Please sign in to comment.