Skip to content

Commit

Permalink
update path based test for appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Jul 6, 2017
1 parent f3975f4 commit e34e16d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ output: github_document

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Travis-CI Build Status](https://travis-ci.org/codemeta/codemetar.svg?branch=master)](https://travis-ci.org/codemeta/codemetar)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/codemeta/codemetar?branch=master&svg=true)](https://ci.appveyor.com/project/codemeta/codemetar)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/cboettig/codemetar?branch=master&svg=true)](https://ci.appveyor.com/project/cboettig/codemetar)
[![Coverage Status](https://img.shields.io/codecov/c/github/codemeta/codemetar/master.svg)](https://codecov.io/github/codemeta/codemetar?branch=master)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/codemetar)](https://cran.r-project.org/package=codemetar)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) [![Travis-CI Build Status](https://travis-ci.org/codemeta/codemetar.svg?branch=master)](https://travis-ci.org/codemeta/codemetar) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/codemeta/codemetar?branch=master&svg=true)](https://ci.appveyor.com/project/codemeta/codemetar) [![Coverage Status](https://img.shields.io/codecov/c/github/codemeta/codemetar/master.svg)](https://codecov.io/github/codemeta/codemetar?branch=master) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/codemetar)](https://cran.r-project.org/package=codemetar)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) [![Travis-CI Build Status](https://travis-ci.org/codemeta/codemetar.svg?branch=master)](https://travis-ci.org/codemeta/codemetar) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/cboettig/codemetar?branch=master&svg=true)](https://ci.appveyor.com/project/cboettig/codemetar) [![Coverage Status](https://img.shields.io/codecov/c/github/codemeta/codemetar/master.svg)](https://codecov.io/github/codemeta/codemetar?branch=master) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/codemetar)](https://cran.r-project.org/package=codemetar)

<!-- README.md is generated from README.Rmd. Please edit that file -->
codemetar
Expand Down Expand Up @@ -297,7 +297,7 @@ write_codemeta(".")
"developmentStatus": "active",
"releaseNotes": "https://github.com/codemeta/codemetar/blob/master/NEWS.md",
"readme": "https://github.com/codemeta/codemetar/blob/master/README.md",
"fileSize": "397.768KB"
"fileSize": "335.52KB"
}

Modifying or enriching CodeMeta metadata
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,5 +259,5 @@
"developmentStatus": "active",
"releaseNotes": "https://github.com/codemeta/codemetar/blob/master/NEWS.md",
"readme": "https://github.com/codemeta/codemetar/blob/master/README.md",
"fileSize": "397.768KB"
"fileSize": "335.52KB"
}
2 changes: 1 addition & 1 deletion ropensci-onboarding.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Confirm each of the following by checking the box. This package:

- [x] Do you intend for this package to go on CRAN?
- [x] Do you wish to automatically submit to the [Journal of Open Source Software](http://joss.theoj.org/)? If so:
- [ ] The package contains a [`paper.md`](http://joss.theoj.org/about#paper_structure) with a high-level description in the package root or in `inst/`.
- [x] The package contains a [`paper.md`](http://joss.theoj.org/about#paper_structure) with a high-level description in the package root or in `inst/`.
- [ ] The package is deposited in a long-term repository with the DOI:
- (*Do not submit your package separately to JOSS*)

Expand Down
5 changes: 5 additions & 0 deletions tests/testthat/test-cloned-repo.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
## Check out the repo from github and run check in root directory to test.

testthat::context("cloned repo")

testthat::test_that("we can generate codemeta
from the root directory of R source code on github",
{

testthat::skip_on_appveyor()

git2r::clone("https://github.com/codemeta/codemetar",
"codemetar_copy", progress = FALSE)
write_codemeta("codemetar_copy/", "test.json")
Expand Down

0 comments on commit e34e16d

Please sign in to comment.