Skip to content

Commit

Permalink
actions update
Browse files Browse the repository at this point in the history
  • Loading branch information
emraher committed Jul 12, 2024
1 parent aa03c94 commit 44f8abf
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 65 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

permissions: read-all

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: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion R/cbRt_helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Get Categories----
# -------------------------------------------------------------------------- ###
get_categories_info <- function(token = NULL) {
if (is.null(token)) token <- Sys.getenv("EVDS_TOKEN")
if (is.null(token)) CBRTKey <- myCBRTKey <- Sys.getenv("EVDS_TOKEN")
urlroot <- "https://evds2.tcmb.gov.tr/service/evds/categories/"
url <- paste0(urlroot, "type=json")
doc <- cbrt_geturl(url, token = token)
Expand Down
4 changes: 4 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ knitr::opts_chunk$set(
# cbRt
[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)

<!-- badges: start -->
[![R-CMD-check](https://github.com/emraher/cbRt/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/emraher/cbRt/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

## Disclaimer

This software is in no way affiliated, endorsed, or approved by the CBRT. It comes with absolutely no warranty. Also see the [Disclaimer on CBRT webpage](http://www.tcmb.gov.tr/wps/wcm/connect/TCMB+EN/TCMB+EN/Footer+Menu/Disclaimer) since it mentions; **"Information published in this site may be quoted by specific reference thereto, but the use of such information for commercial purposes shall be subject to prior written permission of the CBRT."**
Expand Down
Empty file removed _pkgdown.yml
Empty file.
45 changes: 0 additions & 45 deletions appveyor.yml

This file was deleted.

12 changes: 0 additions & 12 deletions codecov.yml

This file was deleted.

0 comments on commit 44f8abf

Please sign in to comment.