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

rdev 1.11.5 #212

Merged
merged 7 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rdev
Title: R Development Tools
Version: 1.11.4
Version: 1.11.5
Authors@R:
person("John", "Benninghoff", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-6230-4742"))
Expand All @@ -10,6 +10,8 @@ License: MIT + file LICENSE
URL: https://jabenninghoff.github.io/rdev/,
https://github.com/jabenninghoff/rdev
BugReports: https://github.com/jabenninghoff/rdev/issues
Depends:
R (>= 4.0.0)
Imports:
checkmate,
cli,
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# rdev 1.11.5

* rdev now depends on R >= 4.0.0

* `use_analysis_package()` now records dependency on R native pipes (R >= 4.1.0)

# rdev 1.11.4

* Updated "Introduction to rdev" vignette, `vignette("rdev")`
Expand Down
2 changes: 2 additions & 0 deletions R/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,8 @@ use_analysis_package <- function(use_quarto = TRUE, prompt = FALSE) {
ignore = TRUE,
open = rlang::is_interactive()
)
desc::desc_set_dep("R", type = "Depends", version = ">= 4.1.0")
desc::desc_normalize()

renv::install("dplyr")
usethis::use_package("dplyr", type = "Suggests")
Expand Down
4 changes: 2 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@
stop("Querying downloads of R is not supported!")
}

df <- cranlogs::cran_downloads(packages = packages, when = when) |>
stats::aggregate(by = count ~ package, FUN = sum)
cl <- cranlogs::cran_downloads(packages = packages, when = when)
df <- stats::aggregate(count ~ package, data = cl, sum)

Check warning on line 241 in R/utils.R

View check run for this annotation

Codecov / codecov/patch

R/utils.R#L240-L241

Added lines #L240 - L241 were not covered by tests

df[order(df$count, decreasing = TRUE), ]
}
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,20 +234,20 @@ ci()
#> * creating vignettes ... OK
#> * checking for LF line-endings in source and make files and shell scripts
#> * checking for empty or unneeded directories
#> * building ‘rdev_1.11.4.tar.gz’
#> * building ‘rdev_1.11.5.tar.gz’
#>
#> ── R CMD check ─────────────────────────────────────────────────────────────────
#> * using log directory ‘/private/var/folders/vn/cw5f9gws42v9m8mdsds_zbl00000gp/T/Rtmp4kM93U/file108c45e03214f/rdev.Rcheck’
#> * using log directory ‘/private/var/folders/vn/cw5f9gws42v9m8mdsds_zbl00000gp/T/RtmpvN7fYo/file780b4c4de0b/rdev.Rcheck’
#> * using R version 4.4.1 (2024-06-14)
#> * using platform: aarch64-apple-darwin20
#> * R was compiled by
#> Apple clang version 14.0.0 (clang-1400.0.29.202)
#> GNU Fortran (GCC) 12.2.0
#> * running under: macOS Sonoma 14.6.1
#> * running under: macOS Sonoma 14.7
#> * using session charset: UTF-8
#> * using option ‘--no-manual’
#> * checking for file ‘rdev/DESCRIPTION’ ... OK
#> * this is package ‘rdev’ version ‘1.11.4
#> * this is package ‘rdev’ version ‘1.11.5
#> * package encoding: UTF-8
#> * checking package namespace information ... OK
#> * checking package dependencies ... OK
Expand Down Expand Up @@ -300,10 +300,9 @@ ci()
#> * checking package vignettes ... OK
#> * checking re-building of vignette outputs ... OK
#> * DONE
#>
#> Status: OK
#> ── R CMD check results ──────────────────────────────────────── rdev 1.11.4 ────
#> Duration: 34s
#> ── R CMD check results ──────────────────────────────────────── rdev 1.11.5 ────
#> Duration: 34.3s
#>
#> 0 errors ✔ | 0 warnings ✔ | 0 notes ✔
```
4 changes: 2 additions & 2 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/TODO.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/analysis-package-layout.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/rdev.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/style-guide.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions docs/pkgdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,11 @@ async function searchFuse(query, callback) {
});
});
})(window.jQuery || window.$)

document.addEventListener('keydown', function(event) {
// Check if the pressed key is '/'
if (event.key === '/') {
event.preventDefault(); // Prevent any default action associated with the '/' key
document.getElementById('search-input').focus(); // Set focus to the search input
}
});
6 changes: 3 additions & 3 deletions docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pandoc: '3.3'
pkgdown: 2.1.0
pandoc: '3.4'
pkgdown: 2.1.1
pkgdown_sha: ~
articles:
analysis-package-layout: analysis-package-layout.html
rdev: rdev.html
style-guide: style-guide.html
last_built: 2024-09-03T14:57Z
last_built: 2024-09-26T18:31Z
urls:
reference: https://jabenninghoff.github.io/rdev/reference
article: https://jabenninghoff.github.io/rdev/articles
Binary file removed docs/reference/Rplot001.png
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/reference/build_analysis_site.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading