Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.0 prep #129

Merged
merged 290 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
4af5fe3
update doc
wincowgerDEV Dec 24, 2022
02db5a2
adding a new function for handling map to particle analysis.
wincowgerDEV Jul 9, 2023
a8233fa
remove diagonal reference.
wincowgerDEV Jul 9, 2023
e4acc82
too many issues with the strategy, restarting.
wincowgerDEV Jul 9, 2023
fadd018
ok, brought it back, giving it a second chance, kind of slow.
wincowgerDEV Jul 9, 2023
ae7c8af
pretty slow for my test example.
wincowgerDEV Jul 9, 2023
908f388
add hyperspec function, probably need one to import from hyperspec.
wincowgerDEV Jul 12, 2023
cc1399d
create conversion to and from hyperspec
wincowgerDEV Jul 14, 2023
255c5c7
Merge pull request #126 from wincowgerDEV/package-down
wincowgerDEV Jul 14, 2023
97221ca
Merge branch 'v1.0-prep' into manage_spec-v1.0
wincowgerDEV Jul 14, 2023
88c81d3
Merge pull request #125 from wincowgerDEV/manage_spec-v1.0
wincowgerDEV Jul 14, 2023
8b1cb2a
Merge branch 'v1.0-prep' into read_ext-v1.0
wincowgerDEV Jul 14, 2023
d0582af
Merge pull request #124 from wincowgerDEV/read_ext-v1.0
wincowgerDEV Jul 14, 2023
057d052
add more tests for adj_intens
wincowgerDEV Jul 14, 2023
c06557e
as_OpenSpecy
wincowgerDEV Jul 17, 2023
50e6539
concatenate files more simply
wincowgerDEV Jul 18, 2023
7492d34
add rbindlist
wincowgerDEV Jul 18, 2023
9b566ca
force concatenation to create a new grid.
wincowgerDEV Jul 18, 2023
15803e0
updating c_spec
wincowgerDEV Jul 18, 2023
3d8af72
update conform_spec tests and docs.
wincowgerDEV Jul 18, 2023
db392fc
add in tests for read_multi
wincowgerDEV Jul 18, 2023
b02693f
collapse_particles complete
wincowgerDEV Jul 18, 2023
433f217
data_norm complete, added more tests
wincowgerDEV Jul 18, 2023
72cb9ca
updated gen_OpenSpecy with new functions for some basic opperations.
wincowgerDEV Jul 18, 2023
49dd343
more checks and tests
wincowgerDEV Jul 18, 2023
19ecec5
plots working
wincowgerDEV Jul 19, 2023
cc3ce27
add plot tests
wincowgerDEV Jul 25, 2023
cc9726b
add tests and docs to process spectra.
wincowgerDEV Jul 25, 2023
1fadfa6
check tests, update read_ext
wincowgerDEV Jul 25, 2023
93168a7
examples and tests for reading opus files
wincowgerDEV Jul 25, 2023
88517cf
line
wincowgerDEV Jul 25, 2023
5c1cfa1
tests for restrict range.
wincowgerDEV Jul 25, 2023
f288c9c
docs
wincowgerDEV Jul 25, 2023
06c70a6
ignore new shiny folder
wincowgerDEV Jul 25, 2023
161f30c
add data sharing test
wincowgerDEV Jul 25, 2023
c61016e
add docs to signal noise
wincowgerDEV Jul 25, 2023
d3e20d3
examples and tests
wincowgerDEV Jul 25, 2023
922cbf1
add test
wincowgerDEV Jul 25, 2023
d86a62b
add parameters for smooth
wincowgerDEV Jul 25, 2023
c8c383f
allow different inputs on spec_res
wincowgerDEV Jul 25, 2023
773afe7
add in manual baseline parameters to description.
wincowgerDEV Jul 25, 2023
21c50cf
updated test_lib with better library.
wincowgerDEV Jul 25, 2023
5e46c92
edited function to run test properly
nickleong20 Jul 25, 2023
458b5c2
corrected typo
nickleong20 Jul 25, 2023
3cc307a
fixed typo in line 18
nickleong20 Jul 25, 2023
7a8742d
add tests and improve the match_spec functions
wincowgerDEV Jul 26, 2023
4032906
Merge branch 'v1.0-prep' of https://github.com/zsteinmetz/OpenSpecy i…
wincowgerDEV Jul 26, 2023
ade903f
added no error test
nickleong20 Jul 26, 2023
4965b8f
edited roxygen text
nickleong20 Jul 26, 2023
f5c9949
fixed typo
nickleong20 Jul 26, 2023
99a6a6e
update reading.
wincowgerDEV Jul 26, 2023
3ef225e
updated "plotly" test
nickleong20 Jul 26, 2023
3e6eac1
working on loading the library.
wincowgerDEV Jul 26, 2023
9039071
Merge branch 'v1.0-prep' of https://github.com/zsteinmetz/OpenSpecy i…
wincowgerDEV Jul 26, 2023
b21d68a
push match spec
wincowgerDEV Jul 26, 2023
d7f718d
added test without error
nickleong20 Jul 26, 2023
e43f20b
Merge branch 'v1.0-prep' of https://github.com/wincowgerDEV/OpenSpecy…
nickleong20 Jul 26, 2023
ebdc5b4
library tests
wincowgerDEV Jul 26, 2023
d448f9c
Merge branch 'v1.0-prep' of https://github.com/zsteinmetz/OpenSpecy i…
wincowgerDEV Jul 26, 2023
253e3cf
created shared_metadata list to shorten function call
nickleong20 Jul 26, 2023
78d434d
Merge branch 'v1.0-prep' of https://github.com/wincowgerDEV/OpenSpecy…
nickleong20 Jul 26, 2023
1a494b6
removed shared_metadata list
nickleong20 Jul 26, 2023
e39e995
added tests
nickleong20 Jul 26, 2023
5b293a3
more tests, better performance for conform_spec
wincowgerDEV Jul 27, 2023
fd9512e
Merge branch 'v1.0-prep' of https://github.com/zsteinmetz/OpenSpecy i…
wincowgerDEV Jul 27, 2023
382da8e
workflow added
wincowgerDEV Jul 27, 2023
e1b4370
Update GitHub Actions
zsteinmetz Jul 28, 2023
cd437d2
Update email address
zsteinmetz Jul 28, 2023
a0c33c4
improve functions for integration with monolith.
wincowgerDEV Jul 28, 2023
81a1e8a
Merge branch 'v1.0-prep' of https://github.com/zsteinmetz/OpenSpecy i…
wincowgerDEV Jul 28, 2023
328babd
update match spectra for greater flexibility
wincowgerDEV Jul 29, 2023
c5f408e
update signal noise calc with some better thresholds
wincowgerDEV Jul 31, 2023
28a1f23
bug with naming
wincowgerDEV Aug 1, 2023
e59e58c
updated functions for syngergy with shiny
wincowgerDEV Aug 1, 2023
7e148e0
Add Nick
zsteinmetz Aug 2, 2023
71a361c
Add `read_envi` functions
zsteinmetz Aug 2, 2023
184f586
Consistent naming
zsteinmetz Aug 2, 2023
2740bb0
removed old test-conform_spec test, fixed test-match_spec
nickleong20 Aug 2, 2023
f268040
Replace rdrop2 with aws.s3; make it optional
zsteinmetz Aug 2, 2023
a0666a0
Add packages
zsteinmetz Aug 2, 2023
8defbbf
added log_total_signal for log scale data
nickleong20 Aug 2, 2023
9438a5e
Merge branch 'v1.0-prep' of https://github.com/wincowgerDEV/OpenSpecy…
nickleong20 Aug 2, 2023
455e6a2
fixed expected result in test
nickleong20 Aug 2, 2023
a36d255
update plots
wincowgerDEV Aug 2, 2023
4299e4e
edited interactive_plot function
nickleong20 Aug 2, 2023
e85bb76
remove the title
wincowgerDEV Aug 2, 2023
80d2fc2
Merge branch 'v1.0-prep' of https://github.com/zsteinmetz/OpenSpecy i…
wincowgerDEV Aug 2, 2023
d1f0355
Remove ggplot2 dependency and replace `tidyr::pivot_longer()` with `d…
zsteinmetz Aug 3, 2023
70b575e
Replace `TTR:runMax()` with `data.table::frollapply()`
zsteinmetz Aug 3, 2023
818b1ab
Remove rlang dependency
zsteinmetz Aug 3, 2023
9600db6
Comment out for now; need to think about how to test this
zsteinmetz Aug 3, 2023
c94d35b
add snr
wincowgerDEV Aug 3, 2023
fe8311e
Merge branch 'v1.0-prep' of https://github.com/zsteinmetz/OpenSpecy i…
wincowgerDEV Aug 3, 2023
67227ac
add warnings when creating an open specy
wincowgerDEV Aug 4, 2023
3bbb3bd
update tests and add is_OpenSpecy messages.
wincowgerDEV Aug 4, 2023
a90b651
Update URLs
zsteinmetz Aug 7, 2023
4efe631
Fixing examples by adding generic `plot` method
zsteinmetz Aug 7, 2023
20a3803
Rename `sample.OpenSpecy()` to `sample_spec()` since `base::sample()`…
zsteinmetz Aug 7, 2023
8c35757
Fix examples
zsteinmetz Aug 7, 2023
b2e0596
All examples fixed
zsteinmetz Aug 7, 2023
18c903d
Reduce package size
zsteinmetz Aug 7, 2023
c210d48
Speed up examples
zsteinmetz Aug 7, 2023
b46e91d
sort wavenumbers automatically
wincowgerDEV Aug 7, 2023
6a66b43
update to error
wincowgerDEV Aug 7, 2023
e5af690
Prefer data.table over dplyr
zsteinmetz Aug 8, 2023
492d6f9
Correct object export
zsteinmetz Aug 8, 2023
a29cc5e
Making S3 methods consistent; `flatten_range()` and `restrict_range()…
zsteinmetz Aug 8, 2023
cdfacf7
Refactoring
zsteinmetz Aug 8, 2023
3e6b42f
Fixing issues with docs
zsteinmetz Aug 8, 2023
71d31b5
Reverse x axis in plots
zsteinmetz Aug 8, 2023
1358816
Speed up example runs
zsteinmetz Aug 8, 2023
45cf272
Add `lines()` method for easy plotting of OpenSpecy objects
zsteinmetz Aug 8, 2023
5a4b144
To use the native pipe
zsteinmetz Aug 8, 2023
2cac4a3
Add missing imports
zsteinmetz Aug 8, 2023
bb59de6
Fixing 'no visible binding for global variable' issues
zsteinmetz Aug 8, 2023
3c59325
Removing dplyr dependency
zsteinmetz Aug 8, 2023
152e519
Renaming files
zsteinmetz Aug 8, 2023
bc3b18c
+ docs
zsteinmetz Aug 8, 2023
9c1ecf3
First implementation of `summary()` function
zsteinmetz Aug 8, 2023
8734221
Finish docs
zsteinmetz Aug 9, 2023
1643877
Rename functions
zsteinmetz Aug 9, 2023
7fde9f0
Rename functions
zsteinmetz Aug 9, 2023
7d1ca27
Rename functions
zsteinmetz Aug 9, 2023
32ab611
Make functions S3 methods
zsteinmetz Aug 9, 2023
fe967d6
More S3, better docs
zsteinmetz Aug 9, 2023
84e45ef
Fix notes coming from data.table's non standard eval
zsteinmetz Aug 9, 2023
845ffd9
Rename `characterize_particles()` to `def_features()`
zsteinmetz Aug 9, 2023
cd50169
Align tests with latest code base
zsteinmetz Aug 9, 2023
61be755
Add XQuartz to macOS job
zsteinmetz Aug 9, 2023
0b6c2c8
Replaced `object` argument with `x`
zsteinmetz Aug 9, 2023
00b08ea
Replaced magrittr pipe `%>%` with native R pipe `|>`
zsteinmetz Aug 10, 2023
76ea315
changing from error to warning. Too restrictive to require.
wincowgerDEV Aug 12, 2023
a691526
force return
wincowgerDEV Aug 12, 2023
29a6112
Add new test library to run tests with the complete library only on G…
zsteinmetz Aug 14, 2023
c5a2bcd
Code styling
zsteinmetz Aug 14, 2023
11dbd62
Add function to remove libraries
zsteinmetz Aug 14, 2023
5f62658
Tidying
zsteinmetz Aug 14, 2023
be6dfa2
Add `check_OpenSpecy()` function + some tidying
zsteinmetz Aug 14, 2023
dcb9e8a
Import hyperSpec functions
zsteinmetz Aug 14, 2023
3a6347a
Apply `make_rel()` to all columns individually + added tests
zsteinmetz Aug 15, 2023
325e021
Improve `conform_spec()`
zsteinmetz Aug 16, 2023
9bde38f
Code tidying and better tests
zsteinmetz Aug 16, 2023
00f0a28
Improve tests
zsteinmetz Aug 16, 2023
63dbe4e
Add `call. = F` to error messages
zsteinmetz Aug 16, 2023
f6a65ba
Coherent warnings and messages
zsteinmetz Aug 16, 2023
84dcd30
S3 method and tests
zsteinmetz Aug 16, 2023
deb6955
Start working on I/O functions
zsteinmetz Aug 16, 2023
ae735ab
Simplifying `subtr_bg()`, now `subtr_baseline()`
zsteinmetz Aug 16, 2023
fec3b09
Rename test file
zsteinmetz Aug 16, 2023
517539d
S3 method and started simplifying `signal_noise()`
zsteinmetz Aug 16, 2023
055ff9b
Simplify `process_spec()`
zsteinmetz Aug 17, 2023
8fd588c
More versatile styling for interactive plots
zsteinmetz Aug 17, 2023
8a4e0a4
Adapt tests
zsteinmetz Aug 17, 2023
1513b05
Adding code coverage tests
zsteinmetz Aug 17, 2023
6b50c7e
Formatting docs
zsteinmetz Aug 17, 2023
688f425
Trying to speed up `cor_spec()`
zsteinmetz Aug 17, 2023
e5b0e9d
Move `sample_spec()
zsteinmetz Aug 18, 2023
725135b
Turn on Markdown support
zsteinmetz Aug 18, 2023
c5d41ff
Tests and doc
zsteinmetz Aug 18, 2023
1a6a243
Tests and doc
zsteinmetz Aug 18, 2023
3410808
Trying to fix Rd build errors
zsteinmetz Aug 18, 2023
60729c0
Updated tests and docs; coverage now at 76%
zsteinmetz Aug 18, 2023
d9b343f
Simplifying code; updating docs and tests
zsteinmetz Aug 18, 2023
0b99393
Mini typo
zsteinmetz Aug 18, 2023
6d4ca99
New version of `read_envi()` using caTools; currently failing tests, …
zsteinmetz Aug 18, 2023
b88444e
Update tests
zsteinmetz Aug 20, 2023
ab5f777
Upping test coverage to 82%
zsteinmetz Aug 20, 2023
9d56f87
Finish `read_envi()`
zsteinmetz Aug 21, 2023
dcb475a
Double checking `read_opus()`
zsteinmetz Aug 21, 2023
49e75db
OpenSpecy objects for `subr_baseline()`
zsteinmetz Aug 21, 2023
d7e66ad
Keep original metadata
zsteinmetz Aug 21, 2023
55e12f7
Add `share` argument back to reading functions
zsteinmetz Aug 21, 2023
ec2fea2
Shorten `signal_noise()`
zsteinmetz Aug 21, 2023
0ab7532
Prepare using S3 credential in tests
zsteinmetz Aug 21, 2023
1fa6e35
Reformat variables
zsteinmetz Aug 21, 2023
47f892f
Add back shell
zsteinmetz Aug 21, 2023
bd414ed
Ignore `run_app()`
zsteinmetz Aug 21, 2023
06d3a65
Update description
zsteinmetz Aug 21, 2023
55143c5
Fix wrong brackets
zsteinmetz Aug 22, 2023
9016059
Updating docs I forgot earlier
zsteinmetz Aug 23, 2023
d0b4638
Suggest current testthat version
zsteinmetz Aug 23, 2023
ddcf4d4
empty lines
wincowgerDEV Aug 23, 2023
1f3eac2
shiny app working but test not working.
wincowgerDEV Aug 24, 2023
286b429
need better error handling.
wincowgerDEV Aug 24, 2023
0668c21
ignore shiny app
wincowgerDEV Aug 24, 2023
2ba04a7
update docs
wincowgerDEV Aug 24, 2023
f003b61
Add simple test for `run_app()`
zsteinmetz Aug 24, 2023
3547c48
update packagedown
wincowgerDEV Aug 24, 2023
d93fd43
update derivative
wincowgerDEV Aug 25, 2023
9eb98b8
reformat reading
wincowgerDEV Aug 25, 2023
7c0671d
Shorten README; fix docs
zsteinmetz Aug 25, 2023
e90e1e0
Tidying and testing .gitignore
zsteinmetz Aug 25, 2023
2577c96
add col names to OpenSpecy for easy metadata merging.
wincowgerDEV Aug 25, 2023
0233e92
docs and tests for new functions
wincowgerDEV Aug 25, 2023
da9b83c
add warning if not all wavenumbers are matched.
wincowgerDEV Aug 25, 2023
9908782
docs and tests starting sop
wincowgerDEV Aug 25, 2023
be48968
better warning for non numeric vector in wavenumbers
wincowgerDEV Aug 25, 2023
b1addac
add expect warn, remove complex requirement
wincowgerDEV Aug 25, 2023
16b4a0d
sorry, really hard to prototype without dplyr
wincowgerDEV Aug 25, 2023
039e8e6
update libraries to include ai and mediods.
wincowgerDEV Aug 25, 2023
a502294
update docs
wincowgerDEV Aug 25, 2023
94e06b0
add docs and ai to match_spec
wincowgerDEV Aug 25, 2023
060808a
ai close
wincowgerDEV Aug 25, 2023
0c5fc8a
method
wincowgerDEV Aug 25, 2023
75b4912
ai working
wincowgerDEV Aug 25, 2023
e2c129b
passing tests but still some warnings and notes.
wincowgerDEV Aug 25, 2023
f7c7684
docs for contributors
wincowgerDEV Aug 25, 2023
f5c81c9
remove line_select, not intended use.
wincowgerDEV Aug 26, 2023
5d75a72
more sop
wincowgerDEV Aug 26, 2023
effbb1a
update default for process_spec to derivative.
wincowgerDEV Aug 26, 2023
750ebc5
updated tests
wincowgerDEV Aug 26, 2023
bfa526a
sop and default flattening.
wincowgerDEV Aug 26, 2023
054204d
more work to do on SOP but closer
wincowgerDEV Aug 26, 2023
f75f020
add contributors
wincowgerDEV Aug 28, 2023
fecd400
Start fixing build errors
zsteinmetz Aug 28, 2023
9f52afa
Convert dplyr to data.table; still need to update tests
zsteinmetz Aug 28, 2023
f42335c
add perimeter and feret_min estimation
wincowgerDEV Aug 29, 2023
9b2dbf1
add tests for new shapes.
wincowgerDEV Aug 29, 2023
38d584d
fix warning
wincowgerDEV Aug 29, 2023
86e33a4
fix fail.
wincowgerDEV Aug 29, 2023
4e362c0
Code styling
zsteinmetz Aug 29, 2023
68f5381
Update desc
zsteinmetz Aug 29, 2023
423c8d1
Amend tests
zsteinmetz Aug 29, 2023
b19fbc5
Updated NEWS and CRAN comments
zsteinmetz Aug 29, 2023
e31dfea
add option for raw range.
wincowgerDEV Aug 29, 2023
9f1f5d1
First glance and minor corrections
zsteinmetz Aug 29, 2023
96fd42e
add rolling join option and docs
wincowgerDEV Aug 29, 2023
c7b3f6b
add tests
wincowgerDEV Aug 29, 2023
71bcb50
Merge branch 'v1.0-prep' of https://github.com/zsteinmetz/OpenSpecy i…
wincowgerDEV Aug 29, 2023
ff7c30e
flexibility for character type zs
wincowgerDEV Aug 29, 2023
e0601e2
update docs
wincowgerDEV Aug 29, 2023
f2e40d1
update names, try to avoid note.
wincowgerDEV Aug 29, 2023
4dd2ad5
update package docs
wincowgerDEV Aug 29, 2023
4e517db
sync for deployment
wincowgerDEV Aug 29, 2023
7ad6214
Merge pull request #132 from wincowgerDEV/v1.0-prep
wincowgerDEV Aug 29, 2023
e9b7106
testing
wincowgerDEV Aug 29, 2023
6a81fd7
sop
wincowgerDEV Aug 29, 2023
e791475
reading data
wincowgerDEV Aug 29, 2023
91c869f
add to sop
wincowgerDEV Aug 29, 2023
78a03ed
images and sop
wincowgerDEV Aug 29, 2023
018b658
image updates and sop
wincowgerDEV Aug 29, 2023
9be592a
more sop, in the identifying spectra stage.
wincowgerDEV Aug 30, 2023
fc57a7e
Merge pull request #134 from wincowgerDEV/package-down
wincowgerDEV Aug 30, 2023
f7afb51
Fix (some) merge conflicts
zsteinmetz Aug 30, 2023
d03512d
Cleaning up
zsteinmetz Aug 30, 2023
3177ac4
Slightly reducing file sizes
zsteinmetz Aug 30, 2023
8e375ff
Code styling
zsteinmetz Aug 30, 2023
7dcf397
Splitting up vignettes
zsteinmetz Aug 30, 2023
f8afebd
Amend tests
zsteinmetz Aug 30, 2023
2b0a916
To be on the safe side for CRAN submission
zsteinmetz Aug 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
^\.httr-oauth$
^doc$
^Meta$
google-analytics.js
droptoken.rds
^cran-comments\.md$
^CRAN-RELEASE$
^_pkgdown\.yml$
^docs$
^pkgdown$
^codecov\.yml$
^vignettes/spectragryph.*
^vignettes/advanced.*
35 changes: 18 additions & 17 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
Expand All @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
Expand All @@ -29,30 +29,31 @@ jobs:
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v1
- name: Install XQuartz on macOS
if: runner.os == 'macOS'
run: brew install xquartz --cask

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
extra-packages: any::rcmdcheck
needs: check

- name: Show testthat output
if: always()
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
- name: Populate .Renviron with GitHub Secrets
run: |
echo AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" >> ~/.Renviron
echo AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> ~/.Renviron
shell: bash

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
- uses: r-lib/actions/check-r-package@v2
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
upload-snapshots: true
50 changes: 50 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, release]
pull_request:
branches: [main, release]

name: test-coverage

jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
needs: coverage

- name: Test coverage
run: |
covr::codecov(
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
)
shell: Rscript {0}

- name: Show testthat output
if: always()
run: |
## --------------------------------------------------------------------
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package
14 changes: 7 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
.Rhistory
.Rapp.history

# Desktop drive files
.ini

# Session Data files
.RData

Expand All @@ -27,8 +24,11 @@
# produced PDF vignettes and docs
vignettes/*.pdf
inst/doc
doc
Meta
doc/
Meta/

# Shiny app
inst/OpenSpecy-shiny-main/

# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth
Expand All @@ -48,7 +48,7 @@ Meta
docs/

# System files
*.ini
.ini
*.swp
.DS_Store
docs
delete.bat
69 changes: 44 additions & 25 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
Package: OpenSpecy
Type: Package
Title: Analyze, Process, Identify, and Share Raman and (FT)IR Spectra
Version: 0.9.5
Date: 2022-07-06
Authors@R: c(person("Win", "Cowger", role = c("cre", "aut"),
Version: 1.0.0
Date: 2023-08-29
Authors@R: c(person("Win", "Cowger", role = c("cre", "aut", "dtc"),
email = "[email protected]",
comment = c(ORCID = "0000-0001-9226-3104")),
person("Zacharias", "Steinmetz", role = c("aut"),
email = "steinmetz-z@uni-landau.de",
email = "z.steinmetz@rptu.de",
comment = c(ORCID = "0000-0001-6675-5033")),
person("Andrew", "Gray", role = c("ctb"),
person("Nick", "Leong", role = c("aut"),
comment = c(ORCID = "0009-0008-3313-4132")),
person("Andrea","Faltynkova", role = c("aut", "dtc"),
comment = c(ORCID = "0000-0003-2523-3137")),
person("Andrew B", "Gray", role = c("ctb"),
comment = c(ORCID = "0000-0003-2252-7367")),
person("Hannah", "Hapich", role = c("ctb"),
comment = c(ORCID = "0000-0003-0000-6632")),
Expand All @@ -23,18 +27,28 @@ Authors@R: c(person("Win", "Cowger", role = c("cre", "aut"),
comment = c(ORCID = "0000-0002-7624-711X")),
person("Sebastian", "Primpke", role = c("ctb", "dtc"),
comment = c(ORCID = "0000-0001-7633-8524")),
person("Orestis", "Herodotou", role = c("ctb", "dtc")))
person("Orestis", "Herodotou", role = c("ctb")),
person("Mary C", "Norris", role = c("ctb")),
person("Christine M", "Knauss", role = c("ctb"),
comment = c(ORCID = "0000-0003-4404-8922")),
person("Aleksandra","Karapetrova", role = c("ctb", "dtc", "rev"),
comment = c(ORCID = "0000-0002-9856-1644")),
person("Vesna","Teofilovic", role = c("ctb"),
comment = c(ORCID = "0000-0002-3557-1482")),
person("Laura A. T.","Markley", role = c("ctb"),
comment = c(ORCID = "0000-0003-0620-8366")),
person("Shreyas","Patankar", role = c("ctb", "dtc")))
Description: Raman and (FT)IR spectral analysis tool for plastic particles and
other environmental samples (Cowger et al. 2021,
<doi:10.1021/acs.analchem.1c00123>). Supported features include reading
spectral data files (.asp, .csv, .jdx, .spc, .spa, .0), Savitzky-Golay
smoothing of spectral intensities with smooth_intens(), correcting
background noise with subtr_bg() in accordance with Zhao et al. (2007)
<doi:10.1366/000370207782597003>, and identifying spectra using an onboard
reference library (Cowger et al. 2020, <doi:10.1177/0003702820929064>).
Analyzed spectra can be shared with the Open Specy community. A Shiny app is
available via run_app() or online at
<https://openanalysis.org/openspecy/>.
<doi:10.1021/acs.analchem.1c00123>). With read_any(), Open Specy provides a
single function for reading individual, batch, or map spectral data files
like .asp, .csv, .jdx, .spc, .spa, .0, and .zip. process_spec() simplifies
preprocessing spectra, including smoothing, baseline correction,
range restriction and flattening, intensity conversions, wavenumber
alignment, and min-max normalization. Spectra can be identified in batch
using an onboard reference library (Cowger et al. 2020,
<doi:10.1177/0003702820929064>) using match_spec(). A Shiny app is available
via run_app() or online at <https://openanalysis.org/openspecy/>.
URL: https://github.com/wincowgerDEV/OpenSpecy-package/,
http://wincowger.com/OpenSpecy-package/
BugReports: https://github.com/wincowgerDEV/OpenSpecy-package/issues/
Expand All @@ -44,32 +58,37 @@ LazyLoad: true
LazyData: true
VignetteBuilder: knitr
Depends:
R (>= 4.0.0)
R (>= 4.1.0)
Imports:
dplyr,
rlang,
methods,
data.table,
jsonlite,
yaml,
osfr,
caTools,
hyperSpec,
hexView,
imager,
plotly,
digest,
signal,
glmnet,
shiny
Suggests:
knitr,
rmarkdown,
testthat (>= 3.0.0),
testthat (>= 3.1.9),
config,
qs,
shinyjs,
shinythemes,
shinyBS,
shinyWidgets,
bs4Dash,
dplyr,
ggplot2,
plotly,
data.table,
DT,
curl,
rdrop2,
aws.s3,
mongolite,
loggit
RoxygenNote: 7.2.3
Roxygen: list(markdown = TRUE)
Config/testthat/edition: 3
Loading