diff --git a/.Rbuildignore b/.Rbuildignore index f413fe8cc..f56cd24f9 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -17,12 +17,10 @@ inst\/doc\/DBI\.b..$ ^inst/staticdocs$ ^.*\.Rproj$ ^\.Rproj\.user$ -^\.travis\.yml$ ^cran-comments\.md$ ^revdep$ ^\.httr-oauth$ ^scripts$ -^tic\.R$ ^_pkgdown\.yml$ ^revdep/ ^API$ @@ -32,4 +30,3 @@ inst\/doc\/DBI\.b..$ ^codecov\.yml$ ^LICENSE\.md$ ^README\.Rmd$ -^appveyor\.yml$ diff --git a/.github/workflows/R-CMD-check-dev.yaml b/.github/workflows/R-CMD-check-dev.yaml new file mode 100644 index 000000000..6144b4a85 --- /dev/null +++ b/.github/workflows/R-CMD-check-dev.yaml @@ -0,0 +1,103 @@ +on: + push: + branches: + - main + - master + pull_request: + branches: + - main + - master + schedule: + - cron: '0 8 * * *' + +name: rcc dev + +jobs: + R-CMD-check: + runs-on: ${{ matrix.config.os }} + + name: ${{ matrix.config.os }} (${{ matrix.config.r }}) + + strategy: + fail-fast: false + matrix: + config: + - {os: ubuntu-18.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"} + + env: + R_REMOTES_NO_ERRORS_FROM_WARNINGS: true + RSPM: ${{ matrix.config.rspm }} + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + + steps: + - uses: actions/checkout@v2 + + - uses: r-lib/actions/setup-r@v1 + with: + r-version: ${{ matrix.config.r }} + + - uses: r-lib/actions/setup-pandoc@v1 + + - name: "Prepare timestamp for cache" + if: runner.os != 'Windows' + id: date + run: echo "::set-output name=date::$(date -Ihours)" + + - name: Cache R packages + if: runner.os != 'Windows' + uses: actions/cache@v2 + with: + path: ${{ env.R_LIBS_USER }} + key: ${{ matrix.config.os }}-r-dev-${{ matrix.config.r }}-${{steps.date.outputs.date}} + restore-keys: ${{ matrix.config.os }}-r-dev-${{ matrix.config.r }}- + + - name: Install remotes + run: | + install.packages("remotes") + shell: Rscript {0} + + - name: Install system dependencies + if: runner.os == 'Linux' + run: | + while read -r cmd + do + eval sudo $cmd + done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "16.04"))') + + - name: Install dependencies + run: | + library(remotes) + deps <- remotes::dev_package_deps(dependencies = TRUE) + update(deps) + lapply(setNames(nm = deps$package), function(x) try(remotes::install_dev(x))) + remotes::install_cran("rcmdcheck") + shell: Rscript {0} + + - name: Session info + run: | + options(width = 100) + pkgs <- installed.packages()[, "Package"] + if (!("sessioninfo" %in% pkgs)) install.packages("sessioninfo") + sessioninfo::session_info(pkgs, include_base = TRUE) + shell: Rscript {0} + + - name: Check + env: + _R_CHECK_CRAN_INCOMING_: false + _R_CHECK_SYSTEM_CLOCK_: false + _R_CHECK_FUTURE_FILE_TIMESTAMPS_: false + RCMDCHECK_ERROR_ON: note + run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = Sys.getenv("RCMDCHECK_ERROR_ON"), check_dir = "check") + shell: Rscript {0} + + - name: Show testthat output + if: always() + run: find check -name '*.Rout*' -exec head -n 1000000 '{}' \; || true + shell: bash + + - name: Upload check results + if: failure() + uses: actions/upload-artifact@main + with: + name: ${{ runner.os }}-r${{ matrix.config.r }}-results + path: check diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml new file mode 100644 index 000000000..0c79a9886 --- /dev/null +++ b/.github/workflows/R-CMD-check.yaml @@ -0,0 +1,115 @@ +# NOTE: This workflow is overkill for most R packages +# check-standard.yaml is likely a better choice +# usethis::use_github_action("check-standard") will install it. +# +# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. +# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions +on: + push: + branches: + - main + - master + pull_request: + branches: + - main + - master + schedule: + - cron: '0 8 * * *' + +name: rcc + +jobs: + R-CMD-check: + runs-on: ${{ matrix.config.os }} + + name: ${{ matrix.config.os }} (${{ matrix.config.r }}) + + strategy: + fail-fast: false + matrix: + config: + - {os: macOS-latest, r: 'release'} + - {os: windows-latest, r: 'release'} + - {os: windows-latest, r: 'oldrel'} + - {os: ubuntu-16.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest", http-user-agent: "R/4.0.0 (ubuntu-16.04) R (4.0.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" } + - {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"} + - {os: ubuntu-16.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"} + - {os: ubuntu-16.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"} + - {os: ubuntu-16.04, r: '3.4', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"} + - {os: ubuntu-16.04, r: '3.3', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"} + + env: + R_REMOTES_NO_ERRORS_FROM_WARNINGS: true + RSPM: ${{ matrix.config.rspm }} + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + + steps: + - uses: actions/checkout@v2 + + - uses: r-lib/actions/setup-r@v1 + with: + r-version: ${{ matrix.config.r }} + http-user-agent: ${{ matrix.config.http-user-agent }} + + - uses: r-lib/actions/setup-pandoc@v1 + + - name: Query dependencies + run: | + install.packages('remotes') + saveRDS(remotes::dev_package_deps(dependencies = TRUE, type = .Platform$pkgType), ".github/depends.Rds", version = 2) + writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") + shell: Rscript {0} + + - name: Cache R packages + if: runner.os != 'Windows' + uses: actions/cache@v2 + with: + path: ${{ env.R_LIBS_USER }} + key: ${{ matrix.config.os }}-${{ hashFiles('.github/R-version') }}-2-${{ hashFiles('.github/depends.Rds') }} + restore-keys: ${{ matrix.config.os }}-${{ hashFiles('.github/R-version') }}-2- + + - name: Install system dependencies + if: runner.os == 'Linux' + run: | + while read -r cmd + do + eval sudo $cmd + done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "16.04"))') + + - name: Install dependencies + run: | + remotes::install_deps(dependencies = TRUE, type = .Platform$pkgType) + remotes::install_cran("rcmdcheck") + shell: Rscript {0} + + - name: Session info + run: | + options(width = 100) + pkgs <- installed.packages()[, "Package"] + if (!("sessioninfo" %in% pkgs)) install.packages("sessioninfo") + sessioninfo::session_info(pkgs, include_base = TRUE) + shell: Rscript {0} + + - name: Check + env: + _R_CHECK_CRAN_INCOMING_: false + _R_CHECK_SYSTEM_CLOCK_: false + _R_CHECK_FUTURE_FILE_TIMESTAMPS_: false + run: | + # Begin custom: rcmdcheck error_on + error_on <- if (getRversion() >= "3.4") "note" else "warning" + # End custom: rcmdcheck error_on + rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = error_on, check_dir = "check") + shell: Rscript {0} + + - name: Show testthat output + if: always() + run: find check -name '*.Rout*' -exec head -n 1000000 '{}' \; || true + shell: bash + + - name: Upload check results + if: failure() + uses: actions/upload-artifact@main + with: + name: ${{ runner.os }}-r${{ matrix.config.r }}-results + path: check diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml new file mode 100644 index 000000000..76583043e --- /dev/null +++ b/.github/workflows/pkgdown.yaml @@ -0,0 +1,81 @@ +on: + push: + branches: + - master + - main + - "docs*" + - "cran-*" + +name: pkgdown + +jobs: + pkgdown: + runs-on: ubuntu-18.04 + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + RSPM: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest" + + steps: + - uses: actions/checkout@v2 + + - uses: r-lib/actions/setup-r@master + + - uses: r-lib/actions/setup-pandoc@master + + - name: Query dependencies + run: | + install.packages("remotes") + saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) + writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") + shell: Rscript {0} + + - name: Cache R packages + uses: actions/cache@v2 + with: + path: ${{ env.R_LIBS_USER }} + key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} + restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- + + - name: Configure Git identity + run: | + env | sort + git config --global user.name "$GITHUB_WORKFLOW" + git config --global user.email "${GITHUB_EVENT_NAME}@ghactions.local" + shell: bash + + - name: Install system dependencies + if: runner.os == 'Linux' + run: | + while read -r cmd + do + eval sudo $cmd + done < <(Rscript -e 'req <- remotes::system_requirements("ubuntu", "18.04"); if (length(req) > 0) cat(req, sep = "\n")') + + - name: Install pkgdown sysdeps + if: runner.os == 'Linux' + env: + RHUB_PLATFORM: linux-x86_64-ubuntu-gcc + run: | + sudo apt-get install -y libharfbuzz-dev libfribidi-dev + + - name: Install dependencies + run: | + install.packages("remotes") + remotes::install_deps(dependencies = TRUE) + remotes::install_github("r-lib/pkgdown") + shell: Rscript {0} + + - name: Install package + run: R CMD INSTALL . + + - name: Build site + if: github.event_name == 'pull_request' + run: | + pkgdown::build_site() + shell: Rscript {0} + + - name: Deploy package + if: github.event_name == 'push' + run: | + pkgdown::deploy_to_branch(new_process = FALSE) + shell: Rscript {0} diff --git a/.github/workflows/pr-commands.yaml b/.github/workflows/pr-commands.yaml new file mode 100644 index 000000000..ee98c9d74 --- /dev/null +++ b/.github/workflows/pr-commands.yaml @@ -0,0 +1,56 @@ +on: + issue_comment: + types: [created] +name: Commands +jobs: + document: + if: startsWith(github.event.comment.body, '/document') + name: document + runs-on: macOS-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v2 + - uses: r-lib/actions/pr-fetch@master + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: r-lib/actions/setup-r@master + - name: Install dependencies + run: Rscript -e 'install.packages(c("remotes", "roxygen2"))' -e 'remotes::install_deps(dependencies = TRUE)' + - name: Document + run: Rscript -e 'roxygen2::roxygenise()' + - name: commit + run: | + git add man/\* NAMESPACE + git commit -m 'Document' + - uses: r-lib/actions/pr-push@master + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + style: + if: startsWith(github.event.comment.body, '/style') + name: style + runs-on: macOS-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v2 + - uses: r-lib/actions/pr-fetch@master + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: r-lib/actions/setup-r@master + - name: Install dependencies + run: Rscript -e 'install.packages("styler")' + - name: Style + run: Rscript -e 'styler::style_pkg()' + - name: commit + run: | + git add \*.R + git commit -m 'Style' + - uses: r-lib/actions/pr-push@master + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + # A mock job just to ensure we have a successful build status + finish: + runs-on: ubuntu-latest + steps: + - run: true diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml new file mode 100644 index 000000000..a2b6a2ce6 --- /dev/null +++ b/.github/workflows/test-coverage.yaml @@ -0,0 +1,58 @@ +on: + push: + branches: + - master + - main + pull_request: + branches: + - master + - main + +name: test-coverage + +jobs: + test-coverage: + runs-on: ubuntu-16.04 + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + RSPM: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest" + + steps: + - uses: actions/checkout@v2 + + - uses: r-lib/actions/setup-r@master + + - uses: r-lib/actions/setup-pandoc@master + + - name: Query dependencies + run: | + install.packages('remotes') + saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) + writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") + shell: Rscript {0} + + - name: Cache R packages + uses: actions/cache@v2 + with: + path: ${{ env.R_LIBS_USER }} + key: ${{ matrix.config.os }}-${{ hashFiles('.github/R-version') }}-2-${{ hashFiles('.github/depends.Rds') }} + restore-keys: ${{ matrix.config.os }}-${{ hashFiles('.github/R-version') }}-2- + + - name: Install system dependencies + if: runner.os == 'Linux' + run: | + while read -r cmd + do + eval sudo $cmd + done < <(Rscript -e 'req <- remotes::system_requirements("ubuntu", "16.04"); if (length(req) > 0) cat(req, sep = "\n")') + + - name: Install dependencies + run: | + install.packages(c("remotes")) + remotes::install_deps(dependencies = TRUE) + remotes::install_cran("covr") + shell: Rscript {0} + + - name: Test coverage + run: covr::codecov() + shell: Rscript {0} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0dc9f4786..000000000 --- a/.travis.yml +++ /dev/null @@ -1,84 +0,0 @@ -# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r -# Default configuration for use with tic package -# Usually you shouldn't need to change the first part of the file - -# DO NOT CHANGE THE CODE BELOW -before_install: R -q -e 'install.packages(c("remotes", "curl")); remotes::install_github("ropenscilabs/tic"); tic::prepare_all_stages(); tic::before_install()' -install: R -q -e 'tic::install()' -after_install: R -q -e 'tic::after_install()' -before_script: R -q -e 'tic::before_script()' -script: R -q -e 'tic::script()' -after_success: R -q -e 'tic::after_success()' -after_failure: R -q -e 'tic::after_failure()' -before_deploy: R -q -e 'tic::before_deploy()' -deploy: - provider: script - script: R -q -e 'tic::deploy()' - on: - all_branches: true -after_deploy: R -q -e 'tic::after_deploy()' -after_script: R -q -e 'tic::after_script()' -# DO NOT CHANGE THE CODE ABOVE - -# Custom parts: - -# Header -language: r -sudo: false -dist: xenial -cache: packages -latex: true -fortran: false - -#stages: test, full -stages: -- name: test - if: branch != docs -- name: docs - if: branch = docs OR branch = master -- name: full - if: branch = master - -#env -env: - global: - - _R_CHECK_FORCE_SUGGESTS_=false - - _R_CHECK_SYSTEM_CLOCK_=false - - MAKEFLAGS="-j 2" - -#addons -addons: - apt: - packages: - - libmagick++-dev - - libssh2-1-dev - -#jobs -matrix: - include: - - r: devel - env: - - DEV_VERSIONS=true - - r: 3.2 - - stage: docs - r: release - env: - - BUILD_PKGDOWN=true - - stage: full - os: osx - latex: false - - r: 3.5 - - r: 3.4 - - r: 3.3 - fast_finish: true - -#notifications -notifications: - email: - on_success: change - on_failure: change - -# Custom parts: - -#services -services: diff --git a/README.Rmd b/README.Rmd index be5cdb9e8..1481e38c5 100644 --- a/README.Rmd +++ b/README.Rmd @@ -16,8 +16,7 @@ knitr::opts_chunk$set( # DBI -[![Build Status](https://travis-ci.org/r-dbi/DBI.svg?branch=master)](https://travis-ci.org/r-dbi/DBI) -[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/r-dbi/DBI?branch=master&svg=true)](https://ci.appveyor.com/project/r-dbi/DBI) +[![rcc](https://github.com/r-dbi/DBI/workflows/rcc/badge.svg)](https://github.com/r-dbi/DBI/actions) [![Coverage Status](https://codecov.io/gh/r-dbi/DBI/branch/master/graph/badge.svg)](https://codecov.io/github/r-dbi/DBI?branch=master) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/DBI)](https://cran.r-project.org/package=DBI) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1882/badge)](https://bestpractices.coreinfrastructure.org/projects/1882) diff --git a/README.md b/README.md index 00798c5bf..f5dcc4dd6 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,7 @@ -[![Build -Status](https://travis-ci.org/r-dbi/DBI.svg?branch=master)](https://travis-ci.org/r-dbi/DBI) -[![AppVeyor build -status](https://ci.appveyor.com/api/projects/status/github/r-dbi/DBI?branch=master&svg=true)](https://ci.appveyor.com/project/r-dbi/DBI) +[![rcc](https://github.com/r-dbi/DBI/workflows/rcc/badge.svg)](https://github.com/r-dbi/DBI/actions) [![Coverage Status](https://codecov.io/gh/r-dbi/DBI/branch/master/graph/badge.svg)](https://codecov.io/github/r-dbi/DBI?branch=master) [![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/DBI)](https://cran.r-project.org/package=DBI) @@ -21,11 +18,11 @@ The DBI package helps connecting R to database management systems and a “back-end”. The package defines an interface that is implemented by *DBI backends* such as: - - [RPostgres](https://rpostgres.r-dbi.org), - - [RMariaDB](https://rmariadb.r-dbi.org), - - [RSQLite](https://rsqlite.r-dbi.org), - - [odbc](https://github.com/r-dbi/odbc), - - [bigrquery](https://github.com/r-dbi/bigrquery), +- [RPostgres](https://rpostgres.r-dbi.org), +- [RMariaDB](https://rmariadb.r-dbi.org), +- [RSQLite](https://rsqlite.r-dbi.org), +- [odbc](https://github.com/r-dbi/odbc), +- [bigrquery](https://github.com/r-dbi/bigrquery), and many more. R scripts and packages use DBI to access various databases through their DBI backends. @@ -37,12 +34,12 @@ Python’s [DB-API](http://www.python.org/dev/peps/pep-0249/), and Microsoft’s [ODBC](http://en.wikipedia.org/wiki/ODBC). It supports the following operations: - - connect/disconnect to the DBMS - - create and execute statements in the DBMS - - extract results/output from statements - - error/exception handling - - information (meta-data) from database objects - - transaction management (optional) +- connect/disconnect to the DBMS +- create and execute statements in the DBMS +- extract results/output from statements +- error/exception handling +- information (meta-data) from database objects +- transaction management (optional) ## Installation @@ -50,14 +47,14 @@ Most users who want to access a database do not need to install DBI directly. It will be installed automatically when you install one of the database backends: - - [RPostgres](https://rpostgres.r-dbi.org) for PostgreSQL, - - [RMariaDB](https://rmariadb.r-dbi.org) for MariaDB or MySQL, - - [RSQLite](https://rsqlite.r-dbi.org) for SQLite, - - [odbc](https://github.com/r-dbi/odbc) for databases that you can +- [RPostgres](https://rpostgres.r-dbi.org) for PostgreSQL, +- [RMariaDB](https://rmariadb.r-dbi.org) for MariaDB or MySQL, +- [RSQLite](https://rsqlite.r-dbi.org) for SQLite, +- [odbc](https://github.com/r-dbi/odbc) for databases that you can access via [ODBC](https://en.wikipedia.org/wiki/Open_Database_Connectivity), - - [bigrquery](https://github.com/r-dbi/bigrquery), - - … . +- [bigrquery](https://github.com/r-dbi/bigrquery), +- … . You can install the released version of DBI from [CRAN](https://CRAN.R-project.org) with: @@ -139,34 +136,34 @@ dbDisconnect(con) There are four main DBI classes. Three which are each extended by individual database backends: - - `DBIObject`: a common base class for all DBI. +- `DBIObject`: a common base class for all DBI. - - `DBIDriver`: a base class representing overall DBMS properties. +- `DBIDriver`: a base class representing overall DBMS properties. Typically generator functions instantiate the driver objects like `RSQLite()`, `RPostgreSQL()`, `RMySQL()` etc. - - `DBIConnection`: represents a connection to a specific database +- `DBIConnection`: represents a connection to a specific database - - `DBIResult`: the result of a DBMS query or statement. +- `DBIResult`: the result of a DBMS query or statement. All classes are *virtual*: they cannot be instantiated directly and instead must be subclassed. ## Further Reading - - [Databases using R](http://db.rstudio.com/) describes the tools and +- [Databases using R](http://db.rstudio.com/) describes the tools and best practices in this ecosystem. - - The [DBI project site](https://www.r-dbi.org/) hosts a blog where +- The [DBI project site](https://www.r-dbi.org/) hosts a blog where recent developments are presented. - - [A history of +- [A history of DBI](https://r-dbi.github.io/DBI/articles/DBI-history.html) by David James, the driving force behind the development of DBI, and many of the packages that implement it. ------ +------------------------------------------------------------------------ Please note that the *DBI* project is released with a [Contributor Code -of Conduct](https://dbi.r-dbi.org/code_of_conduct). By contributing to this -project, you agree to abide by its terms. +of Conduct](https://dbi.r-dbi.org/code_of_conduct). By contributing to +this project, you agree to abide by its terms. diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index c5c9aae53..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,52 +0,0 @@ -# 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: - WARNINGS_ARE_ERRORS: 1 - PKGTYPE: binary - - matrix: - - R_VERSION: devel - GCC_PATH: mingw_64 - R_ARCH: x64 - -build_script: - - travis-tool.sh install_deps - -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 diff --git a/tic.R b/tic.R deleted file mode 100644 index fd7b64510..000000000 --- a/tic.R +++ /dev/null @@ -1,11 +0,0 @@ -do_package_checks(error_on = if (getRversion() >= "3.4") "note" else "warning") - -if (ci_has_env("DEV_VERSIONS")) { - get_stage("install") %>% - add_step(step_install_github(c("r-dbi/DBI", "r-dbi/RSQLite"))) -} - -# Build only for master or release branches -if (ci_has_env("BUILD_PKGDOWN") && grepl("^master$|^r-|^docs$", ci_get_branch())) { - do_pkgdown(deploy = ci_can_push()) -}