-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
109 lines (81 loc) · 4.74 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
output: rmarkdown::github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "",
fig.path = "inst/extdata/"
)
```
## `viabilitymetrics`: Seed Viability Calculations and Curve Fitting <img src="https://raw.githubusercontent.com/aravind-j/viabilitymetrics/master/inst/extdata/viabilitymetrics.png" align="right" alt="logo" width="173" height = "200" style = "padding: 10px; border: none; float: right;">
```{r,echo = FALSE, message = FALSE}
devtools::load_all(".")
```
###### Version : [`r getNamespaceVersion("viabilitymetrics")`](https://aravind-j.github.io/viabilitymetrics/articles/Introduction.html#version-history); Copyright (C) 2017-2018: [ICAR-NBPGR](http://www.nbpgr.ernet.in/); License: [GPL2|GPL-3](https://www.r-project.org/Licenses/)
##### *Aravind, J., Radhamani, J., Vimala Devi, S., Jacob, S. R., and Kalyani Srinivasan*
ICAR-National Bureau of Plant Genetic Resources, New Delhi
***
[![minimal R version](https://img.shields.io/badge/R>%3D-3.0.2-6666ff.svg)](https://cran.r-project.org/)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version-last-release/viabilitymetrics)](https://cran.r-project.org/package=viabilitymetrics)
<!-- [![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/viabilitymetrics?color=green)](https://CRAN.R-project.org/package=viabilitymetrics) -->
<!-- [![packageversion](https://img.shields.io/badge/Package%20version-0.2.3.3-orange.svg)](https://github.com/aravind-j/viabilitymetrics) -->
```{r, results='asis', echo=FALSE}
dver <- ifelse(test = gsub("(.\\.)(\\d+)(\\..)", "", getNamespaceVersion("viabilitymetrics")) != "",
yes = getNamespaceVersion("viabilitymetrics"),
no = gsub("Version:\\s*", "", readLines(paste0("https://raw.githubusercontent.com/", "aravind-j/viabilitymetrics", "/master/DESCRIPTION"))[grep("Version:", readLines(paste0("https://raw.githubusercontent.com/", "aravind-j/viabilitymetrics", "/master/DESCRIPTION")))]))
cat(paste("[![develVersion](https://img.shields.io/badge/devel%20version-", dver, "-orange.svg)](https://github.com/aravind-j/viabilitymetrics)", sep = ""))
```
<!-- [![GitHub Download Count](https://github-basic-badges.herokuapp.com/downloads/aravind-j/viabilitymetrics/total.svg)] -->
[![Project Status: WIP](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html#maturing)
[![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](/commits/master)
<!-- [![Rdoc](https://www.rdocumentation.org/badges/version/viabilitymetrics)](https://www.rdocumentation.org/packages/viabilitymetrics) -->
<!-- [![Zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.841963.svg)](https://doi.org/10.5281/zenodo.841963) -->
[![Analytics](https://pro-pulsar-193905.appspot.com/UA-116693474-1/welcome-page)](https://github.com/aravind-j/google-analytics-beacon)
***
## Description
<!-- `r gsub("(<doi:)(.*?)(>)", "[\\1\\2\\3](https://doi.org/\\2)", gsub("\\n", " ", packageDescription("viabilitymetrics", fields = "Description")))` -->
`r pkgdown:::linkify(packageDescription("viabilitymetrics", fields = "Description"))`
## Installation
### Install development version from Github
```{r, eval=FALSE}
devtools::install_github("aravind-j/viabilitymetrics")
```
## Detailed tutorial
For a detailed tutorial on how to used this package type:
```{r, eval=FALSE}
browseVignettes(package = 'viabilitymetrics')
```
The vignette for the latest version is also available [online](https://aravind-j.github.io/viabilitymetrics/articles/Introduction.html).
## What's new
To know whats new in this version type:
```{r, eval=FALSE}
news(package='viabilitymetrics')
```
## Links
<!-- [CRAN page](https://cran.r-project.org/package=viabilitymetrics) -->
[Github page](https://github.com/aravind-j/viabilitymetrics)
[Documentation website](https://aravind-j.github.io/viabilitymetrics/)
<!-- [Zenodo DOI](https://doi.org/10.5281/zenodo.841963) -->
## Citing `viabilitymetrics`
To cite the methods in the package use:
```{r, eval = FALSE}
citation("viabilitymetrics")
```
```{r, echo = FALSE}
detach("package:viabilitymetrics", unload=TRUE)
suppressPackageStartupMessages(library(viabilitymetrics))
cit <- citation("viabilitymetrics")
# yr <- format(Sys.Date(), "%Y")
# cit[1]$year <- yr
# oc <- class(cit)
#
# cit <- unclass(cit)
# attr(cit[[1]],"textVersion") <- gsub("\\(\\)",
# paste("\\(", yr, "\\)", sep = ""),
# attr(cit[[1]],"textVersion"))
# class(cit) <- oc
cit
```