forked from neuhausi/periscope
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
574 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ | |
^cran-comments.md$ | ||
^winbuilder_results$ | ||
^CRAN-RELEASE$ | ||
^\.circleci$ | ||
^CRAN-SUBMISSION$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# Notes: | ||
# - Docker containers with R, etc. provided by rocker. See <https://hub.docker.com/r/rocker/verse>. | ||
# - Builds attempted for 3.6.3, 4.0.5, and the *latest* R edition supported by rocker. | ||
|
||
version: 2.1 | ||
|
||
workflows: | ||
|
||
version: 2 | ||
Prepare-All-R-Editions: | ||
jobs: | ||
- Build-for-r4_0_5 | ||
- Build-for-rLATEST | ||
|
||
jobs: | ||
|
||
Build-for-r4_0_5: | ||
docker: | ||
- image: rocker/verse:4.0.5 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: Review checkout | ||
command: ls -la | ||
|
||
- run: | ||
name: Install Linux dependencies | ||
command: | | ||
sudo apt-get update -y | ||
sudo apt-get install -yq texlive-fonts-recommended | ||
sudo apt-get install -yq texlive-fonts-extra | ||
- run: | ||
name: Install R dependencies | ||
command: | | ||
R -e 'install.packages(c("shinydashboard", "shinyBS", "DT", "writexl", "fresh"))' | ||
R -e 'install.packages(c("canvasXpress", "shinydashboardPlus", "colourpicker", "openxlsx"))' | ||
- run: | ||
name: Session information and installed package versions | ||
command: | | ||
Rscript -e 'sessionInfo()' | ||
Rscript -e 'installed.packages()[, c("Package", "Version")]' | ||
Rscript -e 'rmarkdown::pandoc_version()' | ||
- run: | ||
name: Build package | ||
command: R CMD build . | ||
|
||
- run: | ||
name: Check package | ||
command: | | ||
# Install suggested packages | ||
R -e 'install.packages("png")' | ||
# Perform package check | ||
R CMD check *tar.gz | ||
Build-for-rLATEST: | ||
docker: | ||
- image: rocker/verse:latest | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: Review checkout | ||
command: ls -la | ||
|
||
- run: | ||
name: Install Linux dependencies | ||
command: | | ||
sudo apt-get update -y | ||
sudo apt-get install -yq texlive-fonts-recommended | ||
sudo apt-get install -yq texlive-fonts-extra | ||
- run: | ||
name: Install R dependencies | ||
command: | | ||
R -e 'install.packages(c("shinydashboard", "shinyBS", "DT", "writexl", "fresh"))' | ||
R -e 'install.packages(c("canvasXpress", "shinydashboardPlus", "colourpicker", "openxlsx"))' | ||
R -e 'install.packages("covr")' | ||
- run: | ||
name: Session information and installed package versions | ||
command: | | ||
Rscript -e 'sessionInfo()' | ||
Rscript -e 'installed.packages()[, c("Package", "Version")]' | ||
Rscript -e 'rmarkdown::pandoc_version()' | ||
- run: | ||
name: Build package | ||
command: R CMD build . | ||
|
||
- run: | ||
name: Check coverage | ||
command: Rscript -e 'library(covr); codecov(quiet = FALSE)' | ||
|
||
- run: | ||
name: Check package | ||
command: | | ||
# Install suggested packages | ||
R -e 'install.packages("png")' | ||
# Perform package check | ||
R CMD check *tar.gz | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.