← Back to home
Comparison · Infra & APIs

prospectr vs smam

A side-by-side editorial comparison of prospectr and smam — release velocity, themes, recent moves, and the top alternatives to consider.

prospectr vs smam: at a glance

Featureprospectrsmam
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesspectroscopy, signal-processing, preprocessing, calibration-samplinganimal-movement, stochastic-processes, state-space-models, rcpp
Last editorial update1h ago4h ago
WebsiteVisit →Visit →

What is prospectr?

prospectr spent its biggest release in years fixing spectra it had been quietly mangling.

prospectr provides the signal-processing layer for near-infrared and visible spectroscopy in R — Savitzky-Golay and gap-segment derivatives, standard normal variate, detrending, continuum removal, splice correction, plus calibration sampling algorithms like Kennard-Stone and DUPLEX and readers for ASD and BUCHI NIRCal instrument files. The May release is the substantial one: a long list of corrections to functions that were returning wrong or missing values rather than failing.

Read the full prospectr trajectory →

What is smam?

Animal-movement models in R, where new stochastic processes arrive years apart.

smam fits statistical models of animal movement, covering moving-resting processes with and without measurement error, moving-resting-handling, and moving-moving processes, with simulation, point estimation and variance estimation for each. The last three releases are pure upkeep: guarding Rf_error calls after an Rcpp update, a maintainer email change, and a compiler warning fix. The substantive work in this window is 0.7.0, which added estimate and vcov generics across all fit functions, and 0.6.0, which added the moving-moving process.

Read the full smam trajectory →

prospectr vs smam: editorial side-by-side

P
prospectr
INFRA · APIS
0.0

prospectr spent its biggest release in years fixing spectra it had been quietly mangling.

◆ Current state

prospectr provides the signal-processing layer for near-infrared and visible spectroscopy in R — Savitzky-Golay and gap-segment derivatives, standard normal variate, detrending, continuum removal, splice correction, plus calibration sampling algorithms like Kennard-Stone and DUPLEX and readers for ASD and BUCHI NIRCal instrument files. The May release is the substantial one: a long list of corrections to functions that were returning wrong or missing values rather than failing.

◆ Where it's heading

The recent work is corrective rather than additive, and several items changed results silently before being caught. continuumRemoval() derived its convex-hull boundary offset from a fixed one-wavelength assumption that broke for fine-resolution spectra or non-nanometre units; cochranTest() passed an invalid argument name to prcomp() and produced incorrect principal component scores; readASD() silently dropped spectra in one branch of its text path. Two file readers were leaking connections. Alongside that runs a smaller thread of decoupling preprocessing steps from each other, most visibly detrend() gaining an snv argument so polynomial detrending can run without the SNV transform that Barnes et al. bundled with it.

◆ Prediction

The detrend() decoupling is the only recent addition and it fits a broader pipeline-composition direction, so similar separation of other bundled preprocessing steps is the plausible next move. The misspelled substraction argument now carries a deprecation warning, which schedules its removal for a future release.

S
smam
INFRA · APIS
0.0

Animal-movement models in R, where new stochastic processes arrive years apart.

◆ Current state

smam fits statistical models of animal movement, covering moving-resting processes with and without measurement error, moving-resting-handling, and moving-moving processes, with simulation, point estimation and variance estimation for each. The last three releases are pure upkeep: guarding Rf_error calls after an Rcpp update, a maintainer email change, and a compiler warning fix. The substantive work in this window is 0.7.0, which added estimate and vcov generics across all fit functions, and 0.6.0, which added the moving-moving process.

◆ Where it's heading

This package grows by adding process models, and it does so rarely. Between the moving-moving process in 2021 and now, the only interface-level change has been the 0.7.0 generics that gave every fit function a common way to retrieve estimates and their covariance, which is consolidation of an accumulated collection rather than expansion of it. The three releases since are entirely reactive to toolchain and CRAN pressure, and they arrive in step with the maintainer's other package coga, which received the same Rcpp guard within twenty minutes on the same day.

◆ Prediction

Expect further releases to be CRAN and Rcpp maintenance unless a new movement process is published, which is what has historically prompted a minor version here. The generics added in 0.7.0 give any future process model a ready-made interface to slot into.

Alternatives to prospectr and smam

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either prospectr or smam.

See all prospectr alternatives → · See all smam alternatives →

Recent activity from prospectr and smam

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agoprospectrdetrend() can run without a prior SNV transformation
  2. 2mo agoprospectrContinuum removal, SNV and cochranTest corrected; readers stop leaking
  3. 5mo agosmamRcpp attributes regenerated to guard Rf_error calls
  4. 1y agoprospectrread_nircal() sample ID field fix
  5. 2y agosmamMaintainer email updated
  6. 2y agosmamCompiler format-security warning resolved
  7. 3y agosmamestimate and vcov generics unify all fit functions
  8. 3y agoprospectrNon-UTF8 sample IDs no longer become NA
  9. 4y agoprospectrkenStone() bug fix
  10. 4y agoprospectrread_nircal() execution failure fixed
  11. 5y agosmamMoving-moving process added with simulation and estimation
  12. 5y agosmamVariance estimators adjusted; example dataset added

Frequently asked questions

What is the difference between prospectr and smam?

They serve adjacent needs but don't currently overlap on shipped themes. prospectr and smam are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is prospectr better than smam?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. prospectr and smam are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to prospectr?

Top prospectr alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "prospectr alternatives" section above for the current picks, or visit /alternatives/prospectr for the full list with editorial commentary on each.

What are the best alternatives to smam?

Top smam alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "smam alternatives" section above for the current picks, or visit /alternatives/smam for the full list with editorial commentary on each.