Skip to content

Commit

Permalink
Merge branch 'develop' into update-gha-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
GegznaV committed Mar 7, 2024
2 parents 3c23b18 + 310543f commit 1638ab1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,25 @@ jobs:
- name: Install dependencies (for R-devel)
if: matrix.config.r == 'devel'
run: |
install.packages("vdiffr", type = "source")
remotes::install_cran("vdiffr", type = "source", force = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, any::devtools, local::.
needs: check

- name: "Install roxygen2==7.2.3"
run: |
remotes::install_version("roxygen2", "7.2.3")
shell: Rscript {0}

- name: Install dependencies (for R-devel)
if: matrix.config.r == 'devel'
run: |
remotes::install_cran("vdiffr", type = "source", force = TRUE)
shell: Rscript {0}

- name: Install dependencies (for R-oldrel)
if: matrix.config.r == 'oldrel' || matrix.config.r == '3.6'
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
extra-packages: any::covr, any::devtools, any::roxygen2
needs: coverage

- name: "Install roxygen2==7.2.3"
run: |
remotes::install_version("roxygen2", "7.2.3")
shell: Rscript {0}

- name: Roxygenize
shell: Rscript {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion R/DEPRECATED-read.spc.R
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ raw.split.nul <- function(raw, trunc = c(TRUE, TRUE), firstonly = FALSE, paste.c
}
log.txt[log.txt == .nul] <- replace.nul
log.txt <- readChar(log.txt, length(log.txt), useBytes = T)
log.txt <- gsub(rawToChar(replace.nul), "\r\n", log.txt)
log.txt <- gsub(rawToChar(replace.nul), "\r\n", log.txt, useBytes=TRUE)
log.txt <- iconv(log.txt, iconv.from, iconv.to)
log.txt <- split.string(log.txt, "\r\n") ## spc file spec says \r\n regardless of OS
log.txt <- split.line(log.txt, "=")
Expand Down
4 changes: 2 additions & 2 deletions R/hyperspec-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#' `absorbance = f(wavelength)`, stored as a vector of absorbance values for
#' discrete wavelengths is suitable.
#'
#' @docType package
#' @author C. Beleites
#'
#' Maintainer: Claudia Beleites <claudia.beleites@@chemometrix.eu>
Expand All @@ -32,4 +31,5 @@
#' @keywords package
#' @concept hyperSpec-main

NULL
"_PACKAGE"

0 comments on commit 1638ab1

Please sign in to comment.