Skip to content

Commit

Permalink
Merge branch 'main' into sync_makevars
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa authored Aug 1, 2024
2 parents 7b4292d + afe1194 commit e809469
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }} - ${{ matrix.config.rust-version }})
name: R-CMD-Check ${{ matrix.config.os }} (${{ matrix.config.r }} - ${{ matrix.config.rust-version }})

strategy:
fail-fast: false
Expand All @@ -34,8 +34,6 @@ jobs:
steps:
- uses: actions/checkout@v3

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

- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.config.rust-version }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test_pkg_gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }} / ${{ matrix.config.rust-version }})
name: PkgGen ${{ matrix.config.os }} (${{ matrix.config.r }} - ${{ matrix.config.rust-version }})

strategy:
fail-fast: false
Expand Down Expand Up @@ -50,9 +50,6 @@ jobs:
# TODO: enable RSPM when all the packages are available
use-public-rspm: false

- name: Set up pandoc
uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r-dependencies@v2
with:
# increment this version number when we need to clear the cache
Expand Down
2 changes: 1 addition & 1 deletion R/features.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
features_config <- rlang::env(
known_features = c("ndarray", "serde", "either", "num-complex", "graphics")
known_features = c("ndarray", "faer", "serde", "either", "num-complex", "graphics")
)

validate_extendr_features <- function(features, suppress_warnings) {
Expand Down
2 changes: 1 addition & 1 deletion R/source.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#' otherwise, uses `rextendr.extendr_dev_deps` option
#' (\code{list(`extendr-api` = list(git = "https://github.com/extendr/extendr")}).
#' @param features A vector of `extendr-api` features that should be enabled.
#' Supported values are `"ndarray"`, `"num-complex"`, `"serde"`, and `"graphics"`.
#' Supported values are `"ndarray"`, `"faer"`, `"either"`, `"num-complex"`, `"serde"`, and `"graphics"`.
#' Unknown features will produce a warning if `quiet` is not `TRUE`.
#' @param env The R environment in which the wrapping functions will be defined.
#' @param use_extendr_api Logical indicating whether
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ local_quiet_cli <- function(quiet, env = rlang::caller_env()) {
#' @return Logical scalar indicating if the command was available.
#' @noRd
cargo_command_available <- function(args = "--help") {
!any(is.na(try_exec_cmd("cargo", args)))
!anyNA(try_exec_cmd("cargo", args))
}

#' Helper function for executing commands.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/license_note.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Name: extendr-macros
Repository: https://github.com/extendr/extendr
Authors: andy-thomason, Thomas Down, Mossa Merhi Reimert, Claus O. Wilke, Hiroaki Yutani, Ilia A. Kosenkov
Authors: andy-thomason, Thomas Down, Mossa Merhi Reimert, Claus O. Wilke, Hiroaki Yutani, Ilia A. Kosenkov, Michael Milton
License: MIT
-------------------------------------------------------------
Expand Down

0 comments on commit e809469

Please sign in to comment.