Skip to content

Commit

Permalink
Merge pull request #117 from ModelOriented/change-repo
Browse files Browse the repository at this point in the history
Change repo
  • Loading branch information
mayer79 authored Jul 11, 2024
2 parents df1e51e + 044efb2 commit 01f9e35
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
extra-packages: any::pkgdown, local::.
needs: website

- name: Install DrWhy theme
run: |
install.packages("remotes")
remotes::install_deps(dependencies = TRUE)
install.packages("future.apply")
remotes::install_github("ModelOriented/DrWhyTemplate")
shell: Rscript {0}

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
Expand Down
14 changes: 9 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
Package: hstats
Title: Interaction Statistics
Version: 1.2.0
Authors@R:
person("Michael", "Mayer", , "[email protected]", role = c("aut", "cre"))
Authors@R: c(
person("Michael", "Mayer", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-6148-5756")),
person("Przemyslaw", "Biecek", , "[email protected]", role = "ctb",
comment = c(ORCID = "0000-0001-8423-1823"))
)
Description: Fast, model-agnostic implementation of different H-statistics
introduced by Jerome H. Friedman and Bogdan E. Popescu (2008)
<doi:10.1214/07-AOAS148>. These statistics quantify interaction
Expand All @@ -18,13 +22,13 @@ Depends:
R (>= 3.2.0)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Imports:
ggplot2,
stats,
utils
Suggests:
testthat (>= 3.0.0)
Config/testthat/edition: 3
URL: https://github.com/mayer79/hstats, https://mayer79.github.io/hstats/
BugReports: https://github.com/mayer79/hstats/issues
URL: https://github.com/ModelOriented/hstats, https://mayer79.github.io/hstats
BugReports: https://github.com/ModelOriented/hstats/issues
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# hstats 1.2.0

## New home

- My brand new home: https://github.com/ModelOriented/hstats

## Major changes

- Factor-valued predictions are no longer possible.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# hstats <a href='https://github.com/mayer79/hstats'><img src='man/figures/logo.png' align="right" height="139"/></a>
# hstats <a href='https://github.com/ModelOriented/hstats'><img src='man/figures/logo.png' align="right" height="139"/></a>

<!-- badges: start -->

[![CRAN status](http://www.r-pkg.org/badges/version/hstats)](https://cran.r-project.org/package=hstats)
[![R-CMD-check](https://github.com/mayer79/hstats/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/mayer79/hstats/actions)
[![Codecov test coverage](https://codecov.io/gh/mayer79/hstats/graph/badge.svg)](https://app.codecov.io/gh/mayer79/hstats?branch=main)
[![R-CMD-check](https://github.com/ModelOriented/hstats/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ModelOriented/hstats/actions)
[![Codecov test coverage](https://codecov.io/gh/ModelOriented/hstats/graph/badge.svg)](https://app.codecov.io/gh/ModelOriented/hstats?branch=main)

[![](https://cranlogs.r-pkg.org/badges/hstats)](https://cran.r-project.org/package=hstats)
[![](https://cranlogs.r-pkg.org/badges/grand-total/hstats?color=orange)](https://cran.r-project.org/package=hstats)
Expand Down Expand Up @@ -52,7 +52,7 @@ The core functions `hstats()`, `partial_dep()`, `ice()`, `perm_importance()`, an
install.packages("hstats")

# From Github
devtools::install_github("mayer79/hstats")
devtools::install_github("ModelOriented/hstats")
```

## Usage
Expand Down
4 changes: 3 additions & 1 deletion packaging.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ use_description(
or individual conditional expectation plots. 'DALEX' explainers, meta learners
('mlr3', 'tidymodels', 'caret') and most other models work out-of-the-box.",
`Authors@R` =
"person('Michael', family='Mayer', role=c('aut', 'cre'), email='[email protected]')",
"c(person('Michael', family='Mayer', role=c('aut', 'cre'), email='[email protected]', comment=c(ORCID='0000-0002-6148-5756')),
person('Przemyslaw', family='Biecek', email='[email protected]', role='ctb', comment=c(ORCID='0000-0001-8423-1823'))
)",
Depends = "R (>= 3.2.0)",
LazyData = NULL
),
Expand Down
6 changes: 6 additions & 0 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
template:
package: DrWhyTemplate
default_assets: false
params:
ganalytics: UA-5650686-14
noindex: true

0 comments on commit 01f9e35

Please sign in to comment.