-
Notifications
You must be signed in to change notification settings - Fork 5
Release: prepare for first CRAN release #5
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
Open
martinctc
wants to merge
29
commits into
master
Choose a base branch
from
release/first-cran-release
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 21 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
3ac8005
doc: tidy up documentation
martinctc c3927b3
docs: update DESCRIPTION
martinctc 6cb8d4d
docs: update documentation
martinctc a7bb775
feat: add test_catcat
martinctc 309d774
feat: add `create_freq_dist()`
martinctc 56e2d03
doc: add examples
martinctc 80fc67b
fix: resolve R CMD check issues
martinctc ccb2c7c
chore: update docs
martinctc a7603e6
Merge branch 'master' into release/first-cran-release
martinctc 1abee11
test: add comprehensive unit tests for various functions
martinctc dc261d8
chore: update roxygen
martinctc 48b00b6
test: improve tests for set_varl and squish functions
martinctc c1cf1d0
feat: add vignette and getting started Rmd
martinctc ac5faf1
fix: R CMD check issues with vignette
martinctc 217e0c3
test: add comprehensive unit tests
martinctc 929df30
chore: update NAMESPACE and documentation; enhance split_tt function …
martinctc b6e5b8a
chore: streamline R-CMD-check workflow by removing manual dependency …
martinctc e23b8cb
chore: simplify R-CMD-check workflow by consolidating dependency inst…
martinctc 6bd8586
chore: prepare for CRAN submission; update DESCRIPTION, add LICENSE a…
martinctc cbe5438
docs: improve documentation
martinctc 52e9d25
chore: enhance R-CMD-check workflow with matrix strategy for OS and R…
martinctc 75131e7
chore: update NEWS.md to reflect version 0.1.0 release
martinctc 1d25e25
chore: fix inconsistent indentation
martinctc 2002c3f
Merge branch 'release/first-cran-release' of https://github.com/marti…
martinctc e4d9398
docs: improve documentation for calc_pc_loglin function and its Rd file
martinctc 298a3ad
feat: add R-hub GitHub Actions workflow for automated checks
martinctc cef9c9a
fix: update DESCRIPTION for British English spelling and add Language…
martinctc 8d4f8fa
docs: simplify NEWS.md
martinctc 8c6d74c
chore: add CRAN-SUBMISSION file and update .Rbuildignore to include it
martinctc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,3 +4,8 @@ | |
| ^icons$ | ||
| ^_development$ | ||
| ^\.github$ | ||
| ^_pkgdown.yml$ | ||
| ^doc$ | ||
| ^Meta$ | ||
| ^cran-comments\.md$ | ||
| ^LICENSE\.md$ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,49 @@ | ||
| on: [push, pull_request] | ||
| on: | ||
| push: | ||
| branches: [main, master] | ||
| pull_request: | ||
| branches: [main, master] | ||
|
|
||
| name: R-CMD-check | ||
|
|
||
| jobs: | ||
| R-CMD-check: | ||
| runs-on: macOS-latest | ||
| runs-on: ${{ matrix.config.os }} | ||
|
|
||
| name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| config: | ||
| - {os: macos-latest, r: 'release'} | ||
| - {os: windows-latest, r: 'release'} | ||
| - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} | ||
| - {os: ubuntu-latest, r: 'release'} | ||
| - {os: ubuntu-latest, r: 'oldrel-1'} | ||
|
|
||
| env: | ||
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
| R_KEEP_PKG_SOURCE: yes | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: r-lib/actions/setup-pandoc@v2 | ||
|
|
||
| - uses: r-lib/actions/setup-r@v2 | ||
| - name: Install dependencies | ||
| run: | | ||
| install.packages(c("remotes", "rcmdcheck")) | ||
| remotes::install_deps(dependencies = TRUE) | ||
| shell: Rscript {0} | ||
| - name: Check | ||
| env: | ||
| _R_CHECK_FORCE_SUGGESTS_: true | ||
| run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") | ||
| shell: Rscript {0} | ||
| with: | ||
| r-version: ${{ matrix.config.r }} | ||
| http-user-agent: ${{ matrix.config.http-user-agent }} | ||
| use-public-rspm: true | ||
|
|
||
| - uses: r-lib/actions/setup-r-dependencies@v2 | ||
| with: | ||
| extra-packages: any::rcmdcheck | ||
| needs: check | ||
|
|
||
| - uses: r-lib/actions/check-r-package@v2 | ||
| with: | ||
| args: 'c("--no-manual", "--as-cran")' | ||
| error-on: '"error"' | ||
| upload-snapshots: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,3 +2,5 @@ | |
| .Rhistory | ||
| .RData | ||
| .Ruserdata | ||
| /doc/ | ||
| /Meta/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # GNU General Public License v3.0 | ||
|
|
||
| This package is licensed under the GNU General Public License version 3 (GPL-3). | ||
|
|
||
| For the full text of the license, see: https://www.gnu.org/licenses/gpl-3.0.en.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # surveytoolbox (development version) | ||
|
|
||
| # surveytoolbox 0.1.0 | ||
|
|
||
| ## New Features | ||
|
|
||
| * Initial CRAN release | ||
| * Core functions for survey data manipulation: | ||
| - `superspread()`, `superspread_count()`, `superspread_fill()` for creating dummy variables | ||
| - `data_dict()` for creating data dictionaries from labelled data | ||
| - `look_up()` for lookup table operations | ||
| - `apply_row()` for rowwise operations with dplyr syntax | ||
| - `box_it()` for creating top/bottom box variables | ||
| - `as_nps()` and `as_nps_cat()` for NPS calculations | ||
| - `test_chisq()` and `ttest_nps()` for statistical tests | ||
| - Label manipulation functions: `set_varl()`, `set_vall()`, `recode_vallab()`, `extract_vallab()` | ||
| - Data conversion functions: `char_to_lab()`, `lab_to_char()`, `chr_to_var()` | ||
| - Utility functions: `clean_strings()`, `wrap_text()`, `timed_fn()`, `categorise()` | ||
| - File operations: `sav_to_rds()`, `copy_df()`, `read_df()` | ||
| - Scale transformations: `likert_convert()`, `likert_reverse()`, `maxmin()` | ||
|
|
||
| ## Documentation | ||
|
|
||
| * Added vignettes: "Getting Started" and "surveytoolbox Walkthrough" | ||
| * Full roxygen2 documentation for all exported functions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate documentation tags found. There are two
@param xtags (lines 10 and 16) and two@returntags (lines 12 and 18) in the roxygen documentation. Remove the duplicate tags at lines 16-18 to avoid roxygen2 warnings.