Skip to content

Commit

Permalink
Merge pull request #827 from DyfanJones/main
Browse files Browse the repository at this point in the history
fix package name for rhub
  • Loading branch information
DyfanJones authored Sep 3, 2024
2 parents ebed63c + 45f173e commit 7357e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion make.paws/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: make.paws
Type: Package
Title: Generate Paws AWS SDKs for R
Version: 0.9.0
Version: 0.9.1
Authors@R: c(
person("David", "Kretch", email = "david.kretch@gmail.com", role = "aut"),
person("Adam", "Banker", email = "adam.banker39@gmail.com", role = "aut"),
Expand Down
7 changes: 3 additions & 4 deletions make.paws/R/sdk_helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ paws_check_rhub <- function(in_dir = "../cran",
platforms = c("linux", "macos", "macos-arm64", "windows")) {
paws_check_rhub_sub_cat(in_dir, pkg_list, platforms)
paws_check_rhub_cat(in_dir, pkg_list, platforms)
pkg <- file.path(in_dir, "paws")
paws_rhub_action_check(pkgs, platforms)
paws_rhub_action_check("paws", platforms)
}

#' @name paws_check_rhub
Expand All @@ -109,7 +108,7 @@ paws_check_rhub_cat <- function(in_dir = "../cran",
platforms = c("linux", "macos", "macos-arm64", "windows")) {
pkgs <- list_paws_pkgs(in_dir, pkg_list)
pkgs <- list_cat_pkgs(pkgs)
paws_rhub_action_check(pkgs, platforms)
paws_rhub_action_check(basename(pkgs), platforms)
}

#' @rdname paws_check_rhub
Expand All @@ -120,7 +119,7 @@ paws_check_rhub_sub_cat <- function(in_dir = "../cran",
pkgs <- list_paws_pkgs(in_dir, pkg_list)
pkgs <- list_sub_cat_pkgs(pkgs)
if (length(pkgs) > 0) {
paws_rhub_action_check(pkgs, platforms)
paws_rhub_action_check(basename(pkgs), platforms)
} else {
warning("No sub-categories released.")
}
Expand Down

0 comments on commit 7357e6b

Please sign in to comment.