-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Version bump. * Docs adjustments and citation. * Mandatory author field. * Fix urls. * R cmd check workflow. * Fix citation. * Update ignore. * Check build on newer vresions. * Rbuild ignore more files. * Ignore more. * Don't need lazy data if no data. * Citation stipulation. * Fix workflow? * Test different version. * News update. * Need pandoc to test. * Typo. * New badges and test on linux too. * Better workflow with schedule. * Badges.
- Loading branch information
1 parent
8bc5c1c
commit e273a6d
Showing
15 changed files
with
164 additions
and
38 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 |
---|---|---|
@@ -1,11 +1,22 @@ | ||
^README\.html$ | ||
^assets$ | ||
^docs$ | ||
^pkgdown$ | ||
.git | ||
.github | ||
.gitignore | ||
.lintr | ||
README.Rmd | ||
TODO.md | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
renv/ | ||
^renv$ | ||
^renv\.lock$ | ||
dev-docs/ | ||
dev/ | ||
research/ | ||
.Rprofile | ||
tests/ | ||
^doc$ | ||
^Meta$ |
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,61 @@ | ||
name: R CMD check | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
schedule: | ||
- cron: '0 0 * * 0' # Run every Sunday at midnight UTC | ||
|
||
jobs: | ||
R-CMD-check: | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
name: ${{ matrix.config.os }} (R-${{ matrix.config.r }}) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- {os: windows-latest, r: '4.1.0'} | ||
- {os: windows-latest, r: 'release'} | ||
- {os: macOS-latest, r: '4.1.0'} | ||
- {os: macOS-latest, r: 'release'} | ||
- {os: ubuntu-latest, r: '4.1.0'} | ||
- {os: ubuntu-latest, r: 'release'} | ||
|
||
env: | ||
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- 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 }} | ||
|
||
- 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 | ||
|
||
- name: Show testthat output | ||
if: always() | ||
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || 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 |
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 |
---|---|---|
|
@@ -59,3 +59,5 @@ rsconnect/ | |
|
||
# machine | ||
.DS_Store | ||
/doc/ | ||
/Meta/ |
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
Package: interface | ||
Type: Package | ||
Title: A runtime type system for R; interfaces, enums, typed data.frames/data.tables and functions | ||
Version: 0.0.41 | ||
Title: Runtime Type System for R | ||
Version: 0.1.0 | ||
URL: https://github.com/dereckmezquita/interface | ||
Authors@R: | ||
person(given = "Dereck", | ||
family = "Mezquita", | ||
role = c("aut", "cre"), | ||
email = "[email protected]", | ||
comment = c(ORCID = "0000-0002-9307-6762")) | ||
Author: Dereck Mezquita [aut, cre] (0000-0002-9307-6762) | ||
Maintainer: Dereck Mezquita <[email protected]> | ||
Description: A runtime type system for R, define and implement interfaces, enums, typed data.frames/data.tables, and typed functions with zero dependencies | ||
Description: Provides a runtime type system for R, allowing users to define and implement interfaces, enums, typed data.frame/data.table, as well as typed functions. This package enables stricter type checking and validation, improving code structure, robustness and reliability in R programming. | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
LazyData: true | ||
VignetteBuilder: knitr | ||
RoxygenNote: 7.3.2 | ||
Depends: R (>= 4.1.0) | ||
|
@@ -23,5 +23,4 @@ Suggests: | |
rmarkdown, | ||
box, | ||
rcmdcheck, | ||
lintr, | ||
data.table | ||
data.table |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ export(enum) | |
export(fun) | ||
export(interface) | ||
export(type.frame) | ||
importFrom(utils,head) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
bibentry( | ||
bibtype = "Manual", | ||
title = "interface: A Runtime Type System for R", | ||
author = "Dereck Mezquita", | ||
year = "2024", | ||
note = "R package version 0.1.0", | ||
url = "https://github.com/dereckmezquita/interface", | ||
textVersion = paste( | ||
"Mezquita, D. (2024).", | ||
"interface: A Runtime Type System for R.", | ||
"R package version 0.1.0.", | ||
"https://github.com/dereckmezquita/interface" | ||
) | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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