Skip to content

Commit

Permalink
v2.0.2.0000
Browse files Browse the repository at this point in the history
Set release version.
  • Loading branch information
leppott committed Jan 31, 2018
1 parent 49aeefc commit 0ce584c
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 27 deletions.
46 changes: 23 additions & 23 deletions .Rhistory
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
myDir.create <- file.path(dir.output, "UserData")
ifelse(dir.exists(myDir.create)==FALSE,dir.create(myDir.create),"Directory already exists")
myDir.create <- file.path(dir.output, "Odd")
ifelse(dir.exists(myDir.create)==FALSE,dir.create(myDir.create),"Directory already exists")
myDir.create <- file.path(dir.output, "Raw")
ifelse(dir.exists(myDir.create)==FALSE,dir.create(myDir.create),"Directory already exists")
myDir.create <- file.path(dir.output, "RawFix")
ifelse(dir.exists(myDir.create)==FALSE,dir.create(myDir.create),"Directory already exists")
myDir.create <- file.path(dir.output, "DV")
ifelse(dir.exists(myDir.create)==FALSE,dir.create(myDir.create),"Directory already exists")
wd <- "C:\\Users\\Erik.Leppo\\OneDrive - Tetra Tech, Inc\\MyDocs_OneDrive\\NCEA_RMN\\Test_PeriodStats\\_TestFiles"
#
list.files(file.path(wd))
library(ContDataQC)
wd <- "C:\\Users\\Erik.Leppo\\OneDrive - Tetra Tech, Inc\\MyDocs_OneDrive\\NCEA_RMN\\Test_PeriodStats"
#
# function inputs
myDate <- "2017-09-01"
myDate.Format <- "%Y-%m-%d"
myPeriod.N <- c(30, 60, 90, 120, 1)
myPeriod.Units <- c("d", "d", "d", "d", "y")
myFile <- "DV_211226000002a_Water_20160727_20170911_Water.Temp.C.CSV"
myDir.import <- file.path(wd, "Data2_QC")
myDir.export <- file.path(wd, "PeriodStats", "DV")
myParam.Name <- "Water.Temp.C"
myDateTime.Name <- "Date.Time"
Expand Down Expand Up @@ -510,3 +487,26 @@ devtools::install(myLibrary)
library(myLibrary,character.only = TRUE)
# change wd back to package
setwd(paste0("./",myLibrary))
# 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))
library(ContDataQC)
help(package="ContDataQC")
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.1.9063
Version: 2.0.2.0000
Authors@R: c(
person("Erik W.", "Leppo", email="Erik.Leppo@tetratech.com",role=c("aut","cre")),
person("Ann","Roseberry Lincoln", role="ctb"),
Expand Down
10 changes: 8 additions & 2 deletions NEWS.md
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-01-31 10:23:54
#> Last Update: 2018-01-31 11:12:17

# Planned Updates

Expand Down Expand Up @@ -38,9 +38,15 @@ NEWS-ContDataQC

# Version History

## v2.0.2

2018-01-31

- Set release on GitHub.

## v2.0.1.9063

2018-01-29
2018-01-31

- Updated ReadMe.
- Provide links to “Guides”; training videos on YouTube with
Expand Down
7 changes: 6 additions & 1 deletion NEWS.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ cat(paste0("Last Update: ",Sys.time()))

# Version History

## v2.0.2
2018-01-31

* Set release on GitHub.

## v2.0.1.9063
2018-01-29
2018-01-31

* Updated ReadMe.
+ Provide links to "Guides"; training videos on YouTube with powerpoint slides and R Notebooks (with video files) on GitHub.
Expand Down

0 comments on commit 0ce584c

Please sign in to comment.