Skip to content

Commit

Permalink
fix testthat.R, enables appveyor, and update Version to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cgao90 committed Mar 9, 2021
1 parent fbab6d5 commit 7d9260b
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rliger
Version: 0.5.0
Date: 2021-01-18
Version: 1.0.0
Date: 2021-03-09
Type: Package
Title: Linked Inference of Genomic Experimental Relationships
Description: Uses an extension of nonnegative matrix factorization to identify shared and dataset-specific factors. See Welch J, Kozareva V, et al (2019) <doi:10.1016/j.cell.2019.05.006>, and Liu J, Gao C, Sodicoff J, et al (2020) <doi:10.1038/s41596-020-0391-8> for more details.
Expand Down
50 changes: 50 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# DO NOT CHANGE the "init" and "install" sections below

# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
install:
- ps: Bootstrap

# Adapt as necessary starting from here

environment:
global:
R_ARCH: x64
USE_RTOOLS: true
BIOC_USE_DEVEL: "FALSE"
_R_CHECK_FORCE_SUGGESTS_: false
CRAN: "https://cloud.r-project.org"

build_script:
- travis-tool.sh install_deps
- travis-tool.sh bioc_install S4Vectors

test_script:
- travis-tool.sh run_tests

on_failure:
- 7z a failure.zip *.Rcheck\*
- appveyor PushArtifact failure.zip

artifacts:
- path: '*.Rcheck\**\*.log'
name: Logs

- path: '*.Rcheck\**\*.out'
name: Logs

- path: '*.Rcheck\**\*.fail'
name: Logs

- path: '*.Rcheck\**\*.Rout'
name: Logs

- path: '\*_*.tar.gz'
name: Bits

- path: '\*_*.zip'
name: Bits
4 changes: 2 additions & 2 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library(testthat)
library(liger)
library(rliger)

test_check("liger")
test_check("rliger")

0 comments on commit 7d9260b

Please sign in to comment.