diff --git a/.Rbuildignore b/.Rbuildignore index 7f275a4..8d5f917 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -4,3 +4,4 @@ ^\.travis\.yml$ cran-comments.md ^CRAN-RELEASE$ +^LICENSE\.md$ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index acd6f80..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r - -language: R -cache: packages -warnings_are_errors: true -sudo: required - -r: - - release - - devel - - -r_binary_packages: - - knitr - - testthat - - psych \ No newline at end of file diff --git a/DESCRIPTION b/DESCRIPTION index a6f2a45..abd4584 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,14 +1,29 @@ Package: careless Type: Package Title: Procedures for Computing Indices of Careless Responding -Version: 1.2.1 -Date: 2021-03-14 +Version: 1.2.2 +Date: 2023-09-30 Authors@R: c( - person("Richard", "Yentes" , email = "ryentes@gmail.com", role = c("cre", "aut")), + person( + given="Richard", + family="Yentes" , + email="ryentes@gmail.com", + role = c("cre", "aut"), + comment=c(ORCID="0000-0002-6767-8065") + ), person("Francisco", "Wilhelm", email = "franciscowilhelm@gmail.com", role = c("aut"))) Maintainer: Richard Yentes -Description: When taking online surveys, participants sometimes respond to items without regard to their content. - These types of responses, referred to as careless or insufficient effort responding, constitute significant problems for data quality, leading to distortions in data analysis and hypothesis testing, such as spurious correlations. The 'R' package 'careless' provides solutions designed to detect such careless / insufficient effort responses by allowing easy calculation of indices proposed in the literature. It currently supports the calculation of longstring, even-odd consistency, psychometric synonyms/antonyms, Mahalanobis distance, and intra-individual response variability (also termed inter-item standard deviation). For a review of these methods, see Curran (2016) . +Description: When taking online surveys, participants sometimes respond to items + without regard to their content. These types of responses, referred to as + careless or insufficient effort responding, constitute significant problems + for data quality, leading to distortions in data analysis and hypothesis + testing, such as spurious correlations. The 'R' package 'careless' provides + solutions designed to detect such careless / insufficient effort responses + by allowing easy calculation of indices proposed in the literature. It + currently supports the calculation of longstring, even-odd consistency, + psychometric synonyms/antonyms, Mahalanobis distance, and intra-individual + response variability (also termed inter-item standard deviation). + For a review of these methods, see Curran (2016) . License: MIT + file LICENSE URL: https://github.com/ryentes/careless/ BugReports: https://github.com/ryentes/careless/issues @@ -21,4 +36,4 @@ Suggests: Encoding: UTF-8 LazyData: true VignetteBuilder: knitr -RoxygenNote: 7.1.1 +RoxygenNote: 7.2.3 diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..72ea4f8 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +# MIT License + +Copyright (c) 2023 Richard Yentes + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/NAMESPACE b/NAMESPACE index 8a3c891..a5c675f 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -7,3 +7,5 @@ export(mahad) export(psychant) export(psychsyn) export(psychsyn_critval) +importFrom(psych,outlier) +importFrom(stats,cor) diff --git a/R/careless-package.R b/R/careless-package.R new file mode 100644 index 0000000..778ed97 --- /dev/null +++ b/R/careless-package.R @@ -0,0 +1,6 @@ +"_PACKAGE" + +## usethis namespace: start +#' @importFrom stats cor +#' @importFrom psych outlier +NULL diff --git a/README.md b/README.md index 2002af0..7c9b6e8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) ![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg) -[![Travis build status](https://travis-ci.com/ryentes/careless.svg?branch=master)](https://travis-ci.com/ryentes/careless) +[![R-CMD-check](https://github.com/ryentes/careless/workflows/R-CMD-check/badge.svg)](https://github.com/ryentes/careless/actions)