Skip to content

Commit 82919ad

Browse files
committed
revise description and title; add cran-comments to test various OS
1 parent 6fbc684 commit 82919ad

File tree

5 files changed

+25
-7
lines changed

5 files changed

+25
-7
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Meta
2+
doc
13
.Rproj.user
24
.Rhistory
35
.RData

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ sudo: false
55
cache: packages
66
warnings_are_errors: true
77

8+
os:
9+
- linux
10+
- osx
811

912
addons:
1013
apt:

DESCRIPTION

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
Package: microhaplot
22
Type: Package
3-
Title: short read variant visualizer
4-
Version: 0.1.0
3+
Title: microhaplotype constructor and visualizer
4+
Version: 1.0.0.9000
55
Authors@R: person("Thomas", "Ng", email = "tngthomasng@gmail.com", role = c("aut", "cre"))
6-
Description: This package has two main functions: 1) to extract microhaplotype from
7-
individual-based alignment and variant files, specifically from SAM and VCF files
8-
2) to call and curate microhaplotypes with the aid of simple filter criteria and
9-
summaries plot found in the Shiny App interface.
6+
Description: This package 1) constructs microhaplotype from short read sequences, specifically
7+
from sequence alignment - SAM and variant call - VCF files, and
8+
2) assists the curation of observed microhaplotypes through Shiny interface.
109
Depends:
1110
R (>= 3.1.2)
1211
Encoding: UTF-8

cran-comments.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Test environments
2+
* local OS X install, R 3.5.3
3+
* ubuntu 12.04 (on travis-ci), R 3.1.2: checked
4+
* win-builder (devel and release): unchecked
5+
6+
## R CMD check results
7+
── R CMD check results ───────────────────────────── microhaplot 1.0.0.9000 ────
8+
Duration: 15.8s
9+
10+
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
11+
12+
13+
## Downstream dependencies
14+
There are currently no downstream dependencies for this package

inst/shiny/microhaplot/server.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ while the bottom panel hosts a wide selection of tables and graphical summaries.
10821082

10831083
#cat(file=stderr(), "successfull pass on haplo.sum --- ", dim(haplo.sum),"=--\n")
10841084

1085-
if (is.null(haplo.sum))
1085+
if (is.null(haplo.sum) || dim(haplo.sum)[1] ==0)
10861086
return ()
10871087

10881088
haplo.join.ar <- left_join(haplo.sum,

0 commit comments

Comments
 (0)