Closed Aariq closed 9 months ago
Before I merge this, would it be better if mol_example()
just returned a (named) vector of file paths? E.g.
mol_example()
#> [1] "/Users/ericscott/Documents/GitHub/volcalc/inst/extdata/C00031.mol"
#> [2] "/Users/ericscott/Documents/GitHub/volcalc/inst/extdata/C08491.mol"
#> [3] "/Users/ericscott/Documents/GitHub/volcalc/inst/extdata/C16181.mol"
#> [4] "/Users/ericscott/Documents/GitHub/volcalc/inst/extdata/C16286.mol"
#> [5] "/Users/ericscott/Documents/GitHub/volcalc/inst/extdata/C16521.mol"
Then you could do things like calc_vol(mol_example())
@KristinaRiemer
possibly add readLines() to example for mol_example()
mol_example()