Skip to content

Commit 925b62b

Browse files
authored
Merge pull request #3 from astamm/master
Code migration for repo transfer
2 parents 34b3cb2 + cc820d2 commit 925b62b

File tree

136 files changed

+13841
-2753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+13841
-2753
lines changed

.Rbuildignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
^.*\.Rproj$
22
^\.Rproj\.user$
3-
.travis.yml
43
codecov.yml
5-
vignettes/Roahd.html
4+
^\.github$
5+
^revdep$
6+
^cran-comments\.md$
7+
^CRAN-RELEASE$
8+
^README\.Rmd$
9+
^_pkgdown\.yml$
10+
^docs$
11+
^pkgdown$

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/check-standard.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
name: R-CMD-check
10+
11+
jobs:
12+
R-CMD-check:
13+
runs-on: ${{ matrix.config.os }}
14+
15+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
16+
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
config:
21+
- {os: macOS-latest, r: 'release'}
22+
- {os: windows-latest, r: 'release'}
23+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
24+
- {os: ubuntu-latest, r: 'release'}
25+
- {os: ubuntu-latest, r: 'oldrel-1'}
26+
27+
env:
28+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
29+
R_KEEP_PKG_SOURCE: yes
30+
31+
steps:
32+
- uses: actions/checkout@v2
33+
34+
- uses: r-lib/actions/setup-pandoc@v1
35+
36+
- uses: r-lib/actions/setup-r@v1
37+
with:
38+
r-version: ${{ matrix.config.r }}
39+
http-user-agent: ${{ matrix.config.http-user-agent }}
40+
use-public-rspm: true
41+
42+
- uses: r-lib/actions/setup-r-dependencies@v1
43+
with:
44+
extra-packages: rcmdcheck
45+
46+
- uses: r-lib/actions/check-r-package@v1
47+
48+
- name: Show testthat output
49+
if: always()
50+
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
51+
shell: bash
52+
53+
- name: Upload check results
54+
if: failure()
55+
uses: actions/upload-artifact@main
56+
with:
57+
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
58+
path: check

.github/workflows/pkgdown.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
tags: ['*']
7+
8+
name: pkgdown
9+
10+
jobs:
11+
pkgdown:
12+
runs-on: ubuntu-latest
13+
env:
14+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- uses: r-lib/actions/setup-pandoc@v1
19+
20+
- uses: r-lib/actions/setup-r@v1
21+
with:
22+
use-public-rspm: true
23+
24+
- uses: r-lib/actions/setup-r-dependencies@v1
25+
with:
26+
extra-packages: pkgdown
27+
needs: website
28+
29+
- name: Deploy package
30+
run: |
31+
git config --local user.name "$GITHUB_ACTOR"
32+
git config --local user.email "[email protected]"
33+
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'

.github/workflows/test-coverage.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
name: test-coverage
10+
11+
jobs:
12+
test-coverage:
13+
runs-on: ubuntu-latest
14+
env:
15+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- uses: r-lib/actions/setup-r@v1
21+
with:
22+
use-public-rspm: true
23+
24+
- uses: r-lib/actions/setup-r-dependencies@v1
25+
with:
26+
extra-packages: covr
27+
28+
- name: Test coverage
29+
run: covr::codecov()
30+
shell: Rscript {0}

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
.Rhistory
33
.RData
44
Rplots.pdf
5-
6-
vignettes/Roahd.R
7-
vignettes/Roahd.html
5+
docs
6+
*.DS_Store

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

DESCRIPTION

Lines changed: 52 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,67 @@
11
Package: roahd
22
Type: Package
33
Title: Robust Analysis of High Dimensional Data
4-
Version: 1.4.1
5-
Date: 2018-08-18
6-
Authors@R: c( person("Nicholas", "Tarabelloni", role = c("aut", "cre"),
7-
email = "[email protected]"),
8-
person("Ana", "Arribas-Gil", role = "aut",
9-
email = "[email protected]" ),
10-
person("Francesca", "Ieva", role = "aut",
11-
email = "[email protected]" ),
12-
person("Anna Maria", "Paganoni", role = "aut",
13-
email = "[email protected]" ),
14-
person("Juan", "Romo", role = "aut",
15-
email = "[email protected]"),
16-
person("Francesco", "Palma", role = "ctb",
17-
email = "[email protected]") )
18-
Author: Nicholas Tarabelloni [aut, cre],
19-
Ana Arribas-Gil [aut],
20-
Francesca Ieva [aut],
21-
Anna Maria Paganoni [aut],
22-
Juan Romo [aut],
23-
Francesco Palma [ctb]
24-
Maintainer: Nicholas Tarabelloni <[email protected]>
4+
Version: 1.4.3.9000
5+
Authors@R: c(
6+
person(given = "Nicholas",
7+
family = "Tarabelloni",
8+
role = "aut",
9+
email = "[email protected]"),
10+
person(given = "Ana",
11+
family = "Arribas-Gil",
12+
role = "aut",
13+
email = "[email protected]"),
14+
person(given = "Francesca",
15+
family = "Ieva",
16+
role = "aut",
17+
email = "[email protected]"),
18+
person(given = "Anna Maria",
19+
family = "Paganoni",
20+
role = "aut",
21+
email = "[email protected]"),
22+
person(given = "Juan",
23+
family = "Romo",
24+
role = "aut",
25+
email = "[email protected]"),
26+
person(given = "Francesco",
27+
family = "Palma",
28+
role = "ctb",
29+
email = "[email protected]"),
30+
person(given = "Aymeric",
31+
family = "Stamm",
32+
role = c("ctb", "cre"),
33+
email = "[email protected]",
34+
comment = c(ORCID = "0000-0002-8725-3654")),
35+
person(given = "Antonio",
36+
family = "Elias-Fernandez",
37+
role = "ctb"))
2538
Description: A collection of methods for the robust analysis of univariate and
2639
multivariate functional data, possibly in high-dimensional cases, and hence
27-
with attention to computational efficiency and simplicity of use.
40+
with attention to computational efficiency and simplicity of use. See the R
41+
Journal publication of Ieva et al. (2019) <doi:10.32614/RJ-2019-032> for an
42+
in-depth presentation of the 'roahd' package. See Aleman-Gomez et al. (2021)
43+
<arXiv:2103.08874> for details about the concept of depthgram.
2844
Depends: R (>= 2.10)
2945
License: GPL-3
46+
Encoding: UTF-8
3047
LazyData: yes
3148
Suggests:
32-
testthat,
49+
testthat (>= 3.0.0),
3350
knitr,
34-
rmarkdown
51+
rmarkdown,
52+
withr,
53+
vdiffr
3554
Imports:
3655
scales,
3756
robustbase,
3857
magrittr,
39-
dplyr
58+
dplyr,
59+
ggplot2,
60+
plotly
4061
VignetteBuilder: knitr
41-
RoxygenNote: 6.0.1
62+
RoxygenNote: 7.1.2
63+
Roxygen: list(markdown = TRUE)
64+
URL: https://astamm.github.io/roahd/, https://github.com/astamm/roahd
65+
BugReports: https://github.com/astamm/roahd/issues
66+
Language: en-US
67+
Config/testthat/edition: 3

NAMESPACE

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ S3method(MHRD,fData)
2929
S3method(as.mfData,list)
3030
S3method(cov_fun,fData)
3131
S3method(cov_fun,mfData)
32+
S3method(depthgram,default)
33+
S3method(depthgram,fData)
34+
S3method(depthgram,mfData)
3235
S3method(fbplot,fData)
3336
S3method(fbplot,mfData)
3437
S3method(mean,fData)
@@ -42,8 +45,10 @@ S3method(multiMEI,mfData)
4245
S3method(multiMHI,default)
4346
S3method(multiMHI,mfData)
4447
S3method(plot,Cov)
48+
S3method(plot,depthgram)
4549
S3method(plot,fData)
4650
S3method(plot,mfData)
51+
export("%>%")
4752
export(BCIntervalSpearman)
4853
export(BCIntervalSpearmanMultivariate)
4954
export(BD)
@@ -66,6 +71,7 @@ export(cor_kendall)
6671
export(cor_spearman)
6772
export(cor_spearman_accuracy)
6873
export(cov_fun)
74+
export(depthgram)
6975
export(exp_cov_function)
7076
export(fDColorPalette)
7177
export(fData)
@@ -89,27 +95,5 @@ export(toListOfValues)
8995
export(toRowMatrixForm)
9096
export(unfold)
9197
export(warp)
92-
importFrom(dplyr,filter)
93-
importFrom(dplyr,group_by)
94-
importFrom(dplyr,summarize)
95-
importFrom(grDevices,col2rgb)
96-
importFrom(grDevices,dev.cur)
97-
importFrom(grDevices,dev.set)
98-
importFrom(grDevices,rgb)
99-
importFrom(graphics,image)
100-
importFrom(graphics,lines)
101-
importFrom(graphics,matplot)
102-
importFrom(graphics,par)
103-
importFrom(graphics,plot)
104-
importFrom(graphics,points)
105-
importFrom(graphics,polygon)
106-
importFrom(graphics,text)
98+
import(ggplot2)
10799
importFrom(magrittr,"%>%")
108-
importFrom(stats,approx)
109-
importFrom(stats,cor)
110-
importFrom(stats,cov)
111-
importFrom(stats,pnorm)
112-
importFrom(stats,qnorm)
113-
importFrom(stats,quantile)
114-
importFrom(stats,rnorm)
115-
importFrom(stats,uniroot)

0 commit comments

Comments
 (0)