Skip to content

Commit

Permalink
restore rslurm.Rmd source to vignettes in package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Carroll committed Apr 8, 2017
1 parent 74f86a9 commit ac1a3a1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 39 deletions.
1 change: 0 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
^\.travis\.yml$
^cran-comments\.md
^release\.R
^vignettes/rslurm\.Rmd
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: r
warnings_are_errors: true
sudo: required
r_build_args: "--no-build-vignettes"
r_check_args: "--no-vignettes --as-cran"

env:
global:
Expand Down
29 changes: 0 additions & 29 deletions inst/doc/index.html

This file was deleted.

9 changes: 0 additions & 9 deletions release.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ library(tools)
library(rmarkdown)
library(devtools)
library(xml2)
library(R.rsp)

# Document from R/*.R
document()
Expand All @@ -25,14 +24,6 @@ system('sed -i "/alias{rslurm-package}/d" man/rslurm-package.Rd')

# Build vignettes
build_vignettes()
setwd('inst/doc')
template_name <- 'index.html.rsp'
template <- file.path(system.file("doc/templates", package="R.rsp"), template_name)
file.copy(template, to='.')
system(paste('sed -i "s|http://\\([^/]*\\)/web/packages/R\\.rsp/|https://\\1/package=R\\.rsp|"', template_name))
rfile(template_name)
unlink(template_name)
setwd('../../')

# Build
pkg <- build(path='~/tmp/')
Expand Down

0 comments on commit ac1a3a1

Please sign in to comment.