After first submission to CRAN:
DESCRIPTION
file: replace "The aim of the package 'rcompendium' is to make easier..." by "Makes easier..."- Function
set_credentials()
does not write the.Rprofile
file anymore (not allowed by CRAN policies). Instead this function opens this file and users need to manually paste the content of the clipboard. - Replace
utils::installed.packages()
byfind.package()
- Check for valid package name
- Add new features:
new_compendium()
andadd_compendium()
- Allow adding to
.gitignore
and.Rbuildignore
several names - Improve console messages
- Modify templates
- Improve documentation
- New features:
add_testthat()
,add_github_actions_codecov()
,add_github_actions_codecov_badge()
, andadd_codecov_badge()
- New arguments in
new_package()
:test
andcodecov
- Add a demo R function to pass test and show good practices in writing functions
- Improve dependencies detection in
@examples
sections - Keep packages versions in
DESCRIPTION
fields - Retrieve GitHub pseudo with
gh::gh_whoami()
(no moregithub
argument)
- Rename
import
argument intocompendium
- Automatically check dependencies in
vignettes/
(remove argumentsuggest
) - Detect dependencies in
tests/
- Add new internal function
path_proj()
- Use
usethis::proj_get()
instead ofhere::here()
- Rename
add_github_badge()
inadd_github_actions_check_badge()
- Add new function
add_github_actions_pkgdown_badge()
- Badge functions return now Markdown badges (if assigned to a variable)
- Badges are added at the end of the process (adding a additional commit)
- Change default license in
new_package()
- Improve inputs checks
- Change files templates (GH Actions names)
- First release of the package.