Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding DDOutlier R package from CRAN #25933

Merged
merged 3 commits into from
Apr 4, 2024
Merged
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
2 changes: 2 additions & 0 deletions recipes/r-ddoutlier/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"%R%" CMD INSTALL --build . %R_ARGS%
IF %ERRORLEVEL% NEQ 0 exit /B 1
3 changes: 3 additions & 0 deletions recipes/r-ddoutlier/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
export DISABLE_AUTOBREW=1
${R} CMD INSTALL --build . ${R_ARGS}
90 changes: 90 additions & 0 deletions recipes/r-ddoutlier/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{% set version = '0.1.0' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
name: r-ddoutlier
version: {{ version|replace("-", "_") }}

source:
url:
- {{ cran_mirror }}/src/contrib/DDoutlier_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/DDoutlier/DDoutlier_{{ version }}.tar.gz
sha256: 4d0b36daeda826e54e103a7bf05434c18d433f619756714a2a49ce4101fee5ab

build:
merge_build_host: True # [win]
number: 0
noarch: generic
rpaths:
- lib/R/lib/
- lib/

requirements:
build:
- {{ posix }}zip # [win]
- cross-r-base {{ r_base }} # [build_platform != target_platform]
host:
- r-base
- r-dbscan
- r-pracma
- r-proxy
run:
- r-base
- r-dbscan
- r-pracma
- r-proxy

test:
commands:
- $R -e "library('DDoutlier')" # [not win]
- "\"%R%\" -e \"library('DDoutlier')\"" # [win]

about:
home: https://github.com/jhmadsen/DDoutlier
license: MIT
summary: "Outlier detection in multidimensional domains. Implementation of notable distance
and density-based outlier algorithms. Allows users to identify local outliers by
comparing observations to their nearest neighbors, reverse nearest neighbors, shared
neighbors or natural neighbors. For distance-based approaches, see Knorr, M., &
Ng, R. T. (1997) <doi:10.1145/782010.782021>, Angiulli, F., & Pizzuti, C. (2002)
<doi:10.1007/3-540-45681-3_2>, Hautamaki, V., & Ismo, K. (2004) <doi:10.1109/ICPR.2004.1334558>
and Zhang, K., Hutter, M. & Jin, H. (2009) <doi:10.1007/978-3-642-01307-2_84>. For
density-based approaches, see Tang, J., Chen, Z., Fu, A. W. C., & Cheung, D. W.
(2002) <doi:10.1007/3-540-47887-6_53>, Jin, W., Tung, A. K. H., Han, J., & Wang,
W. (2006) <doi:10.1007/11731139_68>, Schubert, E., Zimek, A. & Kriegel, H-P. (2014)
<doi:10.1137/1.9781611973440.63>, Latecki, L., Lazarevic, A. & Prokrajac, D. (2007)
<doi:10.1007/978-3-540-73499-4_6>, Papadimitriou, S., Gibbons, P. B., & Faloutsos,
C. (2003) <doi:10.1109/ICDE.2003.1260802>, Breunig, M. M., Kriegel, H.-P., Ng, R.
T., & Sander, J. (2000) <doi:10.1145/342009.335388>, Kriegel, H.-P., Kr\xF6ger,
P., Schubert, E., & Zimek, A. (2009) <doi:10.1145/1645953.1646195>, Zhu, Q., Feng,
Ji. & Huang, J. (2016) <doi:10.1016/j.patrec.2016.05.007>, Huang, J., Zhu, Q., Yang,
L. & Feng, J. (2015) <doi:10.1016/j.knosys.2015.10.014>, Tang, B. & Haibo, He. (2017)
<doi:10.1016/j.neucom.2017.02.039> and Gao, J., Hu, W., Zhang, X. & Wu, Ou. (2011)
<doi:10.1007/978-3-642-20847-8_23>."
license_family: MIT
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
- LICENSE

extra:
recipe-maintainers:
- conda-forge/r
- jackfeltham
jackfeltham marked this conversation as resolved.
Show resolved Hide resolved

# Package: DDoutlier
# Type: Package
# Title: Distance & Density-Based Outlier Detection
# Version: 0.1.0
# Author: Jacob H. Madsen <[email protected]>
# Maintainer: Jacob H. Madsen <[email protected]>
# Description: Outlier detection in multidimensional domains. Implementation of notable distance and density-based outlier algorithms. Allows users to identify local outliers by comparing observations to their nearest neighbors, reverse nearest neighbors, shared neighbors or natural neighbors. For distance-based approaches, see Knorr, M., & Ng, R. T. (1997) <doi:10.1145/782010.782021>, Angiulli, F., & Pizzuti, C. (2002) <doi:10.1007/3-540-45681-3_2>, Hautamaki, V., & Ismo, K. (2004) <doi:10.1109/ICPR.2004.1334558> and Zhang, K., Hutter, M. & Jin, H. (2009) <doi:10.1007/978-3-642-01307-2_84>. For density-based approaches, see Tang, J., Chen, Z., Fu, A. W. C., & Cheung, D. W. (2002) <doi:10.1007/3-540-47887-6_53>, Jin, W., Tung, A. K. H., Han, J., & Wang, W. (2006) <doi:10.1007/11731139_68>, Schubert, E., Zimek, A. & Kriegel, H-P. (2014) <doi:10.1137/1.9781611973440.63>, Latecki, L., Lazarevic, A. & Prokrajac, D. (2007) <doi:10.1007/978-3-540-73499-4_6>, Papadimitriou, S., Gibbons, P. B., & Faloutsos, C. (2003) <doi:10.1109/ICDE.2003.1260802>, Breunig, M. M., Kriegel, H.-P., Ng, R. T., & Sander, J. (2000) <doi:10.1145/342009.335388>, Kriegel, H.-P., Kroger, P., Schubert, E., & Zimek, A. (2009) <doi:10.1145/1645953.1646195>, Zhu, Q., Feng, Ji. & Huang, J. (2016) <doi:10.1016/j.patrec.2016.05.007>, Huang, J., Zhu, Q., Yang, L. & Feng, J. (2015) <doi:10.1016/j.knosys.2015.10.014>, Tang, B. & Haibo, He. (2017) <doi:10.1016/j.neucom.2017.02.039> and Gao, J., Hu, W., Zhang, X. & Wu, Ou. (2011) <doi:10.1007/978-3-642-20847-8_23>.
# License: MIT + file LICENSE
# URL: https://github.com/jhmadsen/DDoutlier
# Encoding: UTF-8
# LazyData: true
# Imports: dbscan, proxy, pracma
# NeedsCompilation: no
# Packaged: 2018-05-29 21:18:22 UTC; Jacob
# Repository: CRAN
# Date/Publication: 2018-05-30 13:24:41 UTC
Loading