-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From NEWS.md file: * added descriptions of validation results and details to validate() function * added version info to package and to xml exports * added warning to enter_new_metadata() if format = TRUE as it sometimes leads to corrupt files. using format = FALSE fixes this, but the file still contains the example data. Merge branch 'dev' # Conflicts: # DESCRIPTION # Makefile # NEWS.md # R/updateFromNewSheet.R # docs/description_emescheme.html # docs/index.html # docs/r_package_introduction.html # docs/user_manual.html # source/index.Rmd # vignettes/description_emescheme.Rmd # vignettes/user_manual.Rmd
- Loading branch information
Showing
74 changed files
with
3,082 additions
and
997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
R/updateFromNewSheet.R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
inst/doc | ||
doc | ||
Meta | ||
/doc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,28 @@ | ||
Package: emeScheme | ||
Title: Microcosm experiment metadata scheme | ||
Version: 0.9 | ||
Date: 2019-04-01 | ||
Authors@R: c( person( "Rainer M.", "Krug", role = c("aut", "cre"), | ||
email = "Rainer.Krug@uzh.ch" ), person( "Owen L.", "Petchey", | ||
role = c("ctb"), email = "Owen.Petchey@uzh.ch" ), | ||
person("Vanessa W.", "de Melo", role = c("ctb"), email = | ||
"Vanessa Weber de Melo <vanessa.weberdemelo@uzh.ch>" ), | ||
person("Frank", "Pennekamp", role = c("ctb"), email = "Frank | ||
Pennekamp <frank.pennekamp@uzh.ch>") ) | ||
Description: This package provides and describes the Authoratative | ||
definition of th emeScheme (Experimental Microcosm Ecology | ||
Metadata). ---- Data imported and version bumped at Tue Mar 19 | ||
12:00:41 2019 / Europe/Zurich. | ||
Title: Microcosm Experiment Metadata Scheme | ||
Description: The Authoratative definition of the emeScheme (Experimental Microcosm Ecology Metadata) and tools to enter, validate and export the metadata. | ||
---- Data updated and version bumped at Wed Apr 10 08:53:29 2019 / Europe/Zurich. ---- Data updated and version bumped at Wed Apr 10 | ||
10:51:12 2019 / Europe/Zurich. | ||
Version: 0.9.1 | ||
emeSchemeVersion: 0.9.5 | ||
Date: 2019-04-10 | ||
Authors@R: c( person( "Rainer M.", "Krug", role = c("aut", "cre"), email = "Rainer.Krug@uzh.ch" ), person( "Owen L.", "Petchey", role = c("ctb"), email = | ||
"Owen.Petchey@uzh.ch" ), person("Vanessa W.", "de Melo", role = c("ctb"), email = "Vanessa Weber de Melo <vanessa.weberdemelo@uzh.ch>" ), | ||
person("Frank", "Pennekamp", role = c("ctb"), email = "Frank Pennekamp <frank.pennekamp@uzh.ch>") ) | ||
URL: https://exp-micro-ecol-hub.github.io/emeScheme/, https://github.com/Exp-Micro-Ecol-Hub/emeScheme | ||
BugReports: https://github.com/Exp-Micro-Ecol-Hub/emeScheme/issues | ||
DOI: https://zenodo.org/record/2620097 | ||
Depends: R (>= 3.3.0) | ||
Imports: tools, methods, utils, magrittr (>= 1.5), dplyr (>= 0.1.8), | ||
tibble (>= 2.1.1), readxl (>= 1.2.0), openxlsx (>= 4.1.1), XML | ||
(>= 3.98-1.16), rlang (>= 0.3.1), taxize (>= 0.9.5), rmarkdown, | ||
knitr, digest (>= 0.6) | ||
Imports: tools, methods, utils, magrittr (>= 1.5), dplyr (>= 0.1.8), tibble (>= 2.1.1), readxl (>= 1.2.0), openxlsx (>= 4.1.1), XML (>= 3.98-1.16), rlang (>= | ||
0.3.1), taxize (>= 0.9.5), rmarkdown, knitr, digest (>= 0.6) | ||
Remotes: awalker89/openxlsx, rkrug/plantuml | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
LazyData: true | ||
StagedInstall: true | ||
RoxygenNote: 6.1.1 | ||
Suggests: covr (>= 3.2.1), testthat (>= 2.0.1), googlesheets (>= | ||
0.3.0), here (>= 0.1), kableExtra (>= 0.9.0), plantuml (>= | ||
0.2.3.2) | ||
GSUpdate: 2019-03-18 13:39:12 | ||
Suggests: covr (>= 3.2.1), testthat (>= 2.0.1), here (>= 0.1), kableExtra (>= 0.9.0) | ||
Enhances: plantuml (>= 0.2.3.2) | ||
emeSchemeUpdate: 2019-04-10 10:51:12 | ||
emeSchemeMD5: 7115b9352958a51fcb60e484a8b9754d | ||
VignetteBuilder: knitr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#' Returns versions of package and emeScheme | ||
#' | ||
#' @param lib.loc a character vector of directory names of R libraries, or NULL. | ||
#' The default value of NULL corresponds to all libraries currently known. If | ||
#' the default is used, the loaded packages and namespaces are searched before | ||
#' the libraries. | ||
#' | ||
#' @return a named \code{list()}, containing the following objects: | ||
#' \itemize{ | ||
#' \item{package}{ containing an object of length on of type \code{package_version} with the version of the package} | ||
#' \item{emeScheme}{ containing an object of length on of type \code{numeric_version} with the version of the metadata scheme emeScheme} | ||
#' } | ||
#' | ||
#' @importFrom utils packageDescription | ||
#' @export | ||
#' | ||
#' @examples | ||
#' emeSchemeVersions() | ||
emeSchemeVersions <-function ( | ||
lib.loc = NULL | ||
) | ||
{ | ||
pkg = "emeScheme" | ||
res <- suppressWarnings( | ||
packageDescription( | ||
pkg, | ||
lib.loc = lib.loc, | ||
fields = c( "Version", "emeSchemeVersion") | ||
) | ||
) | ||
res <- list( | ||
package = package_version(res$Version), | ||
emeScheme = numeric_version(res$emeSchemeVersion) | ||
) | ||
return(res) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.