NEWS


mnirs 0.6.5 (2026-06-02)

read_mnirs()

## read an mNIRS file with two "smo2" channels
df <- read_mnirs(file_path = example_mnirs("moxy_ramp"))

attr(df, "nirs_channels")
#> [1] "SmO2 Live"    "SmO2 Live(2)"

Core function updates

mnirs 0.6.4 (2026-05-15)

Bug fix

mnirs 0.6.3 (2026-05-07)

Plotting improvements

read_mnirs() |> 
    extract_intervals() |> 
    plot()
## returns a plot with a facet for each interval
read_mnirs() |> 
    extract_intervals() |> 
    class()
#> [1] "mnirs" "list"

Modified lap extraction behaviour

read_mnirs() |> 
    extract_intervals(
        start = by_lap(1, 3),
        span = c(0, 60),
    )
## returns a list of two intervals with the first 60-sec of laps 1 and 3, respectively.

Updated core functions

create_mnirs_data(df, nirs_channels = c(o2hb, hhb))

mnirs 0.6.2 (2026-04-18)

Core updates

Core function argument changes

Small edits

mnirs 0.6.1

Bug fixes

mnirs 0.6.0 (2026-03-30)

Prepare for CRAN submission

Updated core functions

mnirs 0.5.2

Shiny app

mnirs 0.5.1

Updated core functions

mnirs 0.5.0

Updated core functions

Package resources

mnirs 0.4.2