Skip to content

Fix 68: make the result of dput() work - #107

Merged
GegznaV merged 2 commits into
developfrom
update_initialization
Aug 7, 2022
Merged

GegznaV merged 2 commits into
developfrom
update_initialization

Conversation

@GegznaV

@GegznaV GegznaV commented Aug 7, 2022

Copy link
Copy Markdown
Member
suppressPackageStartupMessages({library(hyperSpec)})

new("hyperSpec", wavelength = c(405, 405.5, 406, 406.5, 407, 
407.5, 408, 408.5, 409, 409.5, 410), data = structure(list(spc = structure(c(27.15, 
32.344666, 33.378666, 34.419333, 36.531333, 37.647666, 38.137, 
39.177, 40.735666, 41.381333, 44.251333), dim = c(1L, 11L), dimnames = list(
    NULL, c("405", "405.5", "406", "406.5", "407", "407.5", "408", 
    "408.5", "409", "409.5", "410"))), filename = "rawdata/flu1.txt", 
    c = 0.05), row.names = 1L, class = "data.frame"), label = list(
    .wavelength = expression(lambda/nm), spc = expression(I[fl]/"a.u."), 
    filename = "filename", c = "c / (mg / l)"), log = new("data.frame", 
    .Data = list(), names = character(0), row.names = integer(0), 
    .S3Class = "data.frame"))
#> hyperSpec object
#>    1 spectra
#>    3 data columns
#>    11 data points / spectrum

Created on 2022-08-07 by the reprex package (v2.0.1)

@GegznaV GegznaV changed the title Update hyperSpec initialization (part 2): dput() Fix 68: make the result of dput() work Aug 7, 2022
@GegznaV
GegznaV merged commit 9083b2c into develop Aug 7, 2022
@GegznaV
GegznaV deleted the update_initialization branch August 7, 2022 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dput(hyperSpec object) doesn't work

1 participant