forked from aravind-j/augmentedRCBD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
175 lines (137 loc) · 8.06 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
---
output: rmarkdown::github_document
always_allow_html: true
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "",
fig.path = "inst/extdata/"
)
```
<!--
```{r, out.width = '20%', echo = FALSE}
knitr::include_graphics("https://raw.githubusercontent.com/aravind-j/augmentedRCBD/master/inst/extdata/augmentedRCBD.png")
```
-->
## `augmentedRCBD`: Analysis of Augmented Randomised Complete Block Designs <img src="https://raw.githubusercontent.com/aravind-j/augmentedRCBD/master/inst/extdata/augmentedRCBD.png" align="right" alt="logo" width="173" height = "200" style = "border: none; float: right;">
```{r,echo = FALSE, message = FALSE}
devtools::load_all(".")
```
###### Version : [`r getNamespaceVersion("augmentedRCBD")`](https://aravind-j.github.io/augmentedRCBD/articles/Data_Analysis_with_augmentedRCBD.html#install); Copyright (C) 2015-2021: [ICAR-NBPGR](http://www.nbpgr.ernet.in/); License: [GPL-2|GPL-3](https://www.r-project.org/Licenses/)
##### *Aravind, J.^1^, Mukesh Sankar, S.^2^, Wankhede, D. P.^3^, and Kaur, V.^4^*
1. Division of Germplasm Conservation, ICAR-National Bureau of Plant Genetic Resources, New Delhi.
2. Division of Genetics, ICAR-Indian Agricultural Research Institute, New Delhi.
3. Division of Genomic Resources, ICAR-National Bureau of Plant Genetic Resources, New Delhi.
4. Division of Germplasm Evaluation, ICAR-National Bureau of Plant Genetic Resources, New Delhi.
***
[![minimal R version](https://img.shields.io/badge/R>%3D-3.0.2-6666ff.svg?logo=R)](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/augmentedRCBD)](https://cran.r-project.org/package=augmentedRCBD)
[![Dependencies](https://tinyverse.netlify.com/badge/augmentedRCBD)](https://cran.r-project.org/package=augmentedRCBD)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/augmentedRCBD?color=green)](https://CRAN.R-project.org/package=augmentedRCBD)
```{r, results='asis', echo=FALSE}
dver <- ifelse(test = gsub("(.\\.)(\\d+)(\\..)", "", getNamespaceVersion("augmentedRCBD")) != "",
yes = getNamespaceVersion("augmentedRCBD"),
no = gsub("Version:\\s*", "", readLines(paste0("https://raw.githubusercontent.com/", "aravind-j/augmentedRCBD", "/master/DESCRIPTION"))[grep("Version:", readLines(paste0("https://raw.githubusercontent.com/", "aravind-j/augmentedRCBD", "/master/DESCRIPTION")))]))
cat(paste("[![develVersion](https://img.shields.io/badge/devel%20version-", dver, "-orange.svg)](https://github.com/aravind-j/augmentedRCBD)", sep = ""))
```
[![Github Code Size](https://img.shields.io/github/languages/code-size/aravind-j/augmentedRCBD.svg)](https://github.com/aravind-j/augmentedRCBD)
[![R-CMD-check](https://github.com/aravind-j/augmentedRCBD/workflows/R-CMD-check/badge.svg)](https://github.com/aravind-j/augmentedRCBD/actions)
[![Project Status: WIP](https://www.repostatus.org/badges/latest/inactive.svg)](https://www.repostatus.org/#inactive)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](https://github.com/aravind-j/augmentedRCBD)
[![Zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1310011.svg)](https://doi.org/10.5281/zenodo.1310011)
[![Website - pkgdown](https://img.shields.io/website-up-down-green-red/https/aravind-j.github.io/augmentedRCBD.svg)](https://aravind-j.github.io/augmentedRCBD/)
[![.](https://pro-pulsar-193905.appspot.com/UA-116716530-1/welcome-page)](https://github.com/aravind-j/google-analytics-beacon)
<!-- [![packageversion](https://img.shields.io/badge/Package%20version-0.2.3.3-orange.svg)](https://github.com/aravind-j/augmentedRCBD) -->
<!-- [![GitHub Download Count](https://github-basic-badges.herokuapp.com/downloads/aravind-j/augmentedRCBD/total.svg)] -->
<!-- [![Rdoc](https://www.rdocumentation.org/badges/version/augmentedRCBD)](https://www.rdocumentation.org/packages/augmentedRCBD) -->
***
## Description
`r gsub("(<doi:)(.+)(>)", "[doi:\\2](https://doi.org/\\2)", gsub("\\n", " ", packageDescription("augmentedRCBD", fields = "Description")))`
## Installation
The package can be installed from CRAN as follows:
```{r, eval=FALSE}
# Install from CRAN
install.packages('augmentedRCBD', dependencies=TRUE)
```
The development version can be installed from github as follows:
```{r, eval=FALSE}
# Install development version from Github
if (!require('devtools')) install.packages('devtools')
devtools::install_github("aravind-j/augmentedRCBD")
```
## Detailed tutorial
For a detailed tutorial (vignette) on how to used this package type:
```{r, eval=FALSE}
browseVignettes(package = 'augmentedRCBD')
```
The vignette for the latest version is also available [online](https://aravind-j.github.io/augmentedRCBD/articles/Data_Analysis_with_augmentedRCBD.html).
## What's new
To know whats new in this version type:
```{r, eval=FALSE}
news(package='augmentedRCBD')
```
## Links
[CRAN page](https://cran.r-project.org/package=augmentedRCBD)
[Github page](https://github.com/aravind-j/augmentedRCBD)
[Documentation website](https://aravind-j.github.io/augmentedRCBD/)
[Zenodo DOI](https://doi.org/10.5281/zenodo.1310011)
## CRAN checks
```{r, echo = FALSE}
pkgname <- "augmentedRCBD"
osdf <-
rbind(data.frame(OS = "Linux",
Flavour = c("r-devel-linux-x86_64-debian-clang",
"r-devel-linux-x86_64-debian-gcc",
"r-devel-linux-x86_64-fedora-clang",
"r-devel-linux-x86_64-fedora-gcc",
"r-patched-linux-x86_64",
"r-release-linux-x86_64")),
data.frame(OS = "Solaris",
Flavour = c("r-patched-solaris-x86")),
data.frame(OS = "Windows",
Flavour = c("r-devel-windows-ix86+x86_64",
"r-release-windows-ix86+x86_64",
"r-oldrel-windows-ix86+x86_64")),
data.frame(OS = "macOS",
Flavour = c("r-release-macos-x86_64",
"r-oldrel-macos-x86_64")))
osdf$`CRAN check` <- paste("[![CRAN check - ", osdf$Flavour, "]",
"(https://cranchecks.info/badges/flavor/",
osdf$Flavour, "/", pkgname, ")]",
"(https://cran.r-project.org/web/checks/check_results_",
pkgname, ".html)",
sep = "")
```
```{r, echo = FALSE, results='asis', message=FALSE}
library(kableExtra, warn.conflicts = FALSE)
kosdf <- kbl(osdf[, c("Flavour", "CRAN check")], row.names = FALSE)
kosdf2 <- kable_styling(kosdf, bootstrap_options = c("striped", "hover"),
full_width = F, position = "left")
pack_rows(kosdf2, index = c("[![Linux](https://shields.io/badge/Linux--9cf?logo=Linux&style=social)](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 6,
"[![Solaris](https://shields.io/badge/Solaris--9cf?logo=Oracle&style=social)](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 1,
"[![Windows](https://shields.io/badge/Windows--9cf?logo=Windows&style=social)](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 3,
"[![MacOS](https://shields.io/badge/MacOS--9cf?logo=Apple&style=social)](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 2))
```
## Citing `augmentedRCBD`
To cite the methods in the package use:
```{r, eval = FALSE}
citation("augmentedRCBD")
```
```{r, echo = FALSE}
detach("package:augmentedRCBD", unload=TRUE)
suppressPackageStartupMessages(library(augmentedRCBD))
cit <- citation("augmentedRCBD")
# 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
```