Skip to content

Commit

Permalink
first upload of package
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiosg committed Oct 7, 2022
1 parent 8e92519 commit 6404598
Show file tree
Hide file tree
Showing 16 changed files with 727 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.git
.DS_Store
.vscode
README.md
README.Rmd
cleanup
^.*\.Rproj$
^\.Rproj\.user$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
49 changes: 49 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# 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

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@v2

- 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
2 changes: 2 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 2022-10-02 v0.1.0 [AG]
- First upload of package.
15 changes: 15 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Package: tsgam
Type: Package
Title: Interface to mgcv
Version: 0.1.0
Authors@R: c(person("Alexios", "Galanos", role = c("aut", "cre"),
email = "[email protected]"))
Maintainer: alexios galanos <[email protected]>
Description: Wrappers for GAM models in the mgcv package.
License: GPL-2 | file LICENSE
Depends: R (>= 3.5.0), tsmethods
Imports: methods, tsaux, tsdistributions, zoo, xts, data.table, mgcv, gratia, future, future.apply, progressr
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.1
Remotes: tsmodels/tsmethods, tsmodels/tsaux, tsmodels/tsdistributions
39 changes: 39 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Generated by roxygen2: do not edit by hand

S3method(estimate,gam.spec)
S3method(predict,gam.estimate)
S3method(tsbacktest,gam.trainspec)
export(gam_modelspec)
export(gam_trainspec)
import(data.table)
import(methods)
import(mgcv)
import(tsmethods)
importFrom(future,"%<-%")
importFrom(future.apply,future_lapply)
importFrom(gratia,predicted_samples)
importFrom(progressr,handlers)
importFrom(progressr,progressor)
importFrom(stats,as.formula)
importFrom(stats,gaussian)
importFrom(stats,na.omit)
importFrom(stats,predict)
importFrom(stats,quantile)
importFrom(stats,residuals)
importFrom(tsaux,bias)
importFrom(tsaux,crps)
importFrom(tsaux,mape)
importFrom(tsaux,mis)
importFrom(tsaux,msis)
importFrom(tsaux,sampling_frequency)
importFrom(tsaux,smape)
importFrom(tsdistributions,distribution_modelspec)
importFrom(tsdistributions,rdist)
importFrom(xts,as.xts)
importFrom(xts,is.xts)
importFrom(xts,tzone)
importFrom(xts,xts)
importFrom(zoo,as.zoo)
importFrom(zoo,coredata)
importFrom(zoo,index)
importFrom(zoo,zoo)
Loading

0 comments on commit 6404598

Please sign in to comment.