From f8fa4ea0a860872713b8b58b8dd0a65017af06aa Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Tue, 1 Mar 2022 20:08:52 +0100 Subject: [PATCH] cran submission 0.3.0 --- DESCRIPTION | 2 +- NEWS.md | 4 +++- cran-comments.md | 2 +- inst/WORDLIST | 9 +++++++++ vignettes/demean.Rmd | 2 +- vignettes/standardize_data.Rmd | 4 ++-- 6 files changed, 17 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 909e6e0e2..ac8fff0e6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: datawizard Title: Easy Data Wrangling -Version: 0.2.3.9005 +Version: 0.3.0 Authors@R: c( person("Dominique", "Makowski", , "dom.makowski@gmail.com", role = "aut", comment = c(ORCID = "0000-0001-5375-9967", Twitter = "@Dom_Makowski")), diff --git a/NEWS.md b/NEWS.md index c609be84a..e470907b5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# datawizard 0.2.3.9005 +# datawizard 0.3.0 - New functions: @@ -10,6 +10,8 @@ * To rotate data frames: `data_rotate()`. + * To reverse score variables: `data_reverse()`. + * To merge/join multiple data frames: `data_merge()` (or its alias `data_join()`). diff --git a/cran-comments.md b/cran-comments.md index 3a52239b7..f4b2b1a61 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -13,5 +13,5 @@ We checked 11 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. - * We saw 1 new problem: *modelbased* package is already broken on CRAN and its breakage isn't related to the current update. + * We saw 0 new problems. * We failed to check 0 packages. diff --git a/inst/WORDLIST b/inst/WORDLIST index 02fa38651..4359407cd 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -21,6 +21,9 @@ Mundlak PHQ PSU REWB +Ranktransform +Recode +Recoding Rescale Rescaling Routledge @@ -43,6 +46,8 @@ geoms github https io +labelled +labelling leptokurtic lme meaned @@ -55,6 +60,10 @@ pockety proprties pth quartiles +recode +recoded +recodes +recoding reproducibility rescale rescaled diff --git a/vignettes/demean.Rmd b/vignettes/demean.Rmd index 9322d3e3f..ee4443f00 100644 --- a/vignettes/demean.Rmd +++ b/vignettes/demean.Rmd @@ -165,7 +165,7 @@ model_parameters(fe_model2)[2:3, ] library(lfe) fe_model3 <- felm( QoL ~ time + phq4 | ID, - data = qol_cancer + data = qol_cancer ) model_parameters(fe_model3) ``` diff --git a/vignettes/standardize_data.Rmd b/vignettes/standardize_data.Rmd index 411ac6afa..a3d56d078 100644 --- a/vignettes/standardize_data.Rmd +++ b/vignettes/standardize_data.Rmd @@ -198,7 +198,7 @@ emotion <- emotion %>% filter(Emotion_Condition == "Negative") # Summary emotion %>% - subset(!(is.na(Subjective_Valence) | is.na(Autobiographical_Link))) %>% + subset(!(is.na(Subjective_Valence) | is.na(Autobiographical_Link))) %>% group_by(Participant_ID) %>% summarise( n_Trials = n(), @@ -340,7 +340,7 @@ print_participants <- function(data) { Mean = mean(Subjective_Valence), SD = sd(Subjective_Valence) ) %>% - cbind(DF = df_name, .) %>% + cbind(DF = df_name, .) %>% head(5) %>% select(DF, everything()) }