Skip to content

Commit 5eda34a

Browse files
Further minor changes for v1.1 release (#39)
* fix URL (to avoid CRAN check complaint) * remove lambda function (so that R>=4.1 is not required) * rerun devtools::document
1 parent 5b99d15 commit 5eda34a

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RoxygenNote: 7.3.1
5858
Encoding: UTF-8
5959
VignetteBuilder: knitr
6060
Config/testthat/edition: 3
61-
URL: https://lucas-castillo.github.io/samplr
61+
URL: https://lucas-castillo.github.io/samplr/
6262
BugReports: https://github.com/lucas-castillo/samplr/issues
6363
Depends:
6464
R (>= 2.10)

R/Z_identities.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,13 @@ Bayesian_Sampler <- function(
321321
#' library(tidyr)
322322
#' library(magrittr)
323323
#' library(samplrData)
324+
#' pct_to_prob <- function(x){x/100}
324325
#' data <- sundh2023.meanvariance.e3 %>%
325326
#' group_by(ID, querydetail) %>%
326327
#' mutate(iteration = LETTERS[1:n()]) %>%
327328
#' pivot_wider(id_cols = c(ID, querydetail),
328329
#' values_from = estimate, names_from = iteration) %>%
329-
#' mutate(across(where(is.numeric), \(x){x/100})) %>%
330+
#' mutate(across(where(is.numeric), pct_to_prob)) %>%
330331
#' ungroup %>%
331332
#' select(-querydetail)
332333
#' head(data)

man/Mean_Variance.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
-5 Bytes
Loading
-307 Bytes
Loading

man/samplr-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)