Skip to content

Commit

Permalink
Version 1.3.1 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
serkor1 authored May 31, 2024
1 parent df5c565 commit 93d7baa
Show file tree
Hide file tree
Showing 166 changed files with 8,882 additions and 6,373 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ playground
^CRAN-SUBMISSION$
^CODE_OF_CONDUCT\.md$
^data-raw$
^codemeta\.json$
NEWS.Rmd
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master, development]
branches: [main, master, development, documentation]
pull_request:
branches: [main, master, development]
branches: [main, master, development, documentation]

name: R-CMD-check

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches: [development]
pull_request:
branches: [main, master]
branches: [development]
release:
types: [published]
workflow_dispatch:
Expand Down
27 changes: 19 additions & 8 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,60 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master, development, major-update]
branches: [development]
pull_request:
branches: [main, master, development, major-update]
branches: [development]

name: test-coverage

permissions: read-all

jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
extra-packages: any::covr, any::xml2
needs: coverage

- name: Test coverage
run: |
covr::codecov(
cov <- covr::package_coverage(
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
)
covr::to_cobertura(cov)
shell: Rscript {0}

- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
file: ./cobertura.xml
plugin: noop
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Show testthat output
if: always()
run: |
## --------------------------------------------------------------------
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package
7 changes: 2 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: cryptoQuotes
Title: A Streamlined Access to Cryptocurrency OHLC-V Market Data and Sentiment Indicators
Version: 1.3.0
Version: 1.3.1
Authors@R: c(
person("Serkan", "Korkmaz", , "[email protected]", role = c("cre", "aut", "ctb", "cph"),
comment = c(ORCID = "0000-0002-5052-0982")),
Expand All @@ -25,13 +25,10 @@ Suggests:
Config/testthat/edition: 3
Imports:
cli (>= 3.6.2),
conflicted (>= 1.2.0),
curl (>= 5.2.0),
curl (>= 5.2.1),
jsonlite (>= 1.8.8),
lifecycle (>= 1.0.4),
paletteer (>= 1.6.0),
plotly (>= 4.10.4),
rlang (>= 1.1.3),
TTR (>= 0.24.4),
utils,
xts (>= 0.13.2),
Expand Down
12 changes: 3 additions & 9 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
# Generated by roxygen2: do not edit by hand

export(add_event)
export(alma)
export(availableExchanges)
export(availableIntervals)
export(availableTickers)
export(available_exchanges)
export(available_intervals)
export(available_tickers)
export(bollinger_bands)
export(calibrate_window)
export(chart)
export(dema)
export(donchian_channel)
export(ema)
export(evwma)
export(fgi)
export(getFGIndex)
export(getLSRatio)
export(getQuote)
export(get_fgindex)
export(get_fundingrate)
export(get_lsratio)
Expand All @@ -28,9 +22,11 @@ export(kline)
export(lsr)
export(macd)
export(ohlc)
export(pline)
export(remove_bound)
export(rsi)
export(sma)
export(smi)
export(split_window)
export(volume)
export(vwap)
Expand All @@ -43,7 +39,5 @@ importFrom(plotly,add_annotations)
importFrom(plotly,layout)
importFrom(plotly,plot_ly)
importFrom(plotly,subplot)
importFrom(rlang,abort)
importFrom(rlang,trace_back)
importFrom(xts,as.xts)
importFrom(zoo,as.zoo)
Loading

0 comments on commit 93d7baa

Please sign in to comment.