Skip to content

rchemo

Dimension Reduction, Regression and Discrimination for Chemometrics

v0.1-4 · Jun 30, 2026 · GPL-3

Description

Data exploration and prediction with focus on high dimensional data and chemometrics. The package was initially designed about partial least squares regression and discrimination models and variants, in particular locally weighted PLS models (LWPLS). Then, it has been expanded to many other methods for analyzing high dimensional data. The name 'rchemo' comes from the fact that the package is orientated to chemometrics, but most of the provided methods are fully generic to other domains. Functions such as transform(), predict(), coef() and summary() are available. Tuning the predictive models is facilitated by generic functions gridscore() (validation dataset) and gridcv() (cross-validation). Faster versions are also available for models based on latent variables (LVs) (gridscorelv() and gridcvlv()) and ridge regularization (gridscorelb() and gridcvlb()).

Downloads

CRAN

311

Last 30 days

14751st

739

Last 90 days

3.2K

Last year

Trend: +49.5% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

58

Last 90 days

202

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

6

Last 7 days

15

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 1 FAILURE Jun 8, 2026
FAILURE r-devel-linux-x86_64-debian-gcc

for missing documentation entries

ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘rchemo-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/Rtmpsy5G2B/file3c838c33633f89/cglsr.R': No space left on device
Execution halted
 NONE
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    data   4.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    data   4.2Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.1Mb
  sub-directories of 1Mb or more:
    data   4.2Mb

Code

Structure

Lines of code

20,987

Files

213

Compiled share

0%

Has compiled src

No

Language breakdown

R 10,772 (51.3%)Docs 9,107 (43.4%)Vignettes 1,108 (5.3%)

API

Exported functions

206

Internal functions

32

Recent export changes

v0.1-1+1 pattern:^[[:alpha:]]+

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

\dontrun example ratio

1.1%

Roxygen coverage

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

27

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2023-05-12

Latest release

2026-06-30

Avg cadence

390 days

Cold removal rate

Dep drift

1

LOC over versions

v0.1-1: 11,396 LOCv0.1-2: 14,569 LOCv0.1-3: 18,646 LOCv0.1-4: 20,987 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies data.table FNN signal e1071 rchemo

Version History

5 tracked
updated 0.1-4 ← 0.1-3 diff Jun 30, 2026
new 0.1-3 Mar 10, 2026
updated 0.1-3 ← 0.1-2 diff Sep 10, 2024
updated 0.1-2 ← 0.1-1 diff Jun 4, 2024
new 0.1-1 May 11, 2023