Skip to content

Commit

Permalink
Brutal hack to force vignette build on BioC.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Dec 12, 2019
1 parent fefc25b commit 4e784df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: basilisk
Version: 0.99.2
Date: 2019-12-10
Version: 0.99.3
Date: 2019-12-11
Title: Freezing Python Versions Inside Bioconductor Packages
Authors@R: c(person("Aaron", "Lun", role=c("aut", "cre", "cph"),
email="infinite.monkeys.with.keyboards@gmail.com"))
Expand Down
7 changes: 7 additions & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
return(NULL)
}

# NOTE: temporary hack to skip failure in temporary installation during R
# CMD build, so the vignettes can be built and we can proceed to the actual
# installation.
if (nrow(utils::vignette(package="basilisk")$results)==0L) {
return(NULL)
}

.minstaller(dest_path, testing=FALSE)

# Create a common virtual environment.
Expand Down

0 comments on commit 4e784df

Please sign in to comment.