Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Check

on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- master
- development
push:
branches:
- master
- development

workflow_dispatch:

jobs:
style:
if: github.event_name == 'pull_request'
name: Style Check
uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
auto-update: false

unit-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/insightsengineering/rstudio
steps:
-
name: Checkout repo
uses: actions/[email protected]
-
name: Build
run: |
Rscript -e "devtools::install()"
-
name: Test
run: |
Rscript -e "testthat::test_local()"



1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ docker
rstudio
*.o
*.so
RcppExports.cpp
10 changes: 4 additions & 6 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Generated by roxygen2: do not edit by hand

S3method(predict,brm)
S3method(print,brm)
export(brm)
export(getProbRD)
export(getProbRR)
export(getProbScalarRD)
export(getProbScalarRR)
export(get_prob_rd)
export(get_prob_rr)
export(predict_brm)
export(print_brm)
exportPattern("ˆ[[:alpha:]]+")
importFrom(Rcpp,evalCpp)
useDynLib(brm)
63 changes: 0 additions & 63 deletions R/1.1_MLE_Point.R

This file was deleted.

52 changes: 0 additions & 52 deletions R/1.2_MLE_Var.R

This file was deleted.

47 changes: 0 additions & 47 deletions R/1_CallMLE.R

This file was deleted.

65 changes: 0 additions & 65 deletions R/2.1_DR_Point.R

This file was deleted.

66 changes: 0 additions & 66 deletions R/2.2.1_Hessian_RD.R

This file was deleted.

Loading