-
Bug fixes
get_all_functions()
better detects functions (e.g.function ()
)add_sticker()
copies the sticker template infigures/readme/
and no more inman/figures/
(listed in the.gitignore
)
-
Minor changes
- Remove dependency to
crayon
andclisymbols
in favor ofcli
- Improve templates
add_compendium()
does not create subfolders indata/
- Remove dependency to
-
Bug fixes
get_deps_*()
better detects project dependencies and does not delete packages called w/library("pkg")
orlibrary('pkg')
add_sticker()
now copies the sticker template for compendium
-
Minor changes
- Provide instructions for installing V8 engine on Unix systems
-
New features
get_git_branch_name()
detects git branch nameadd_contributing()
adds aCONTRIBUTING.md
file and issue templatesadd_code_of_conduct()
adds aCODE_OF_CONDUCT.md
fileadd_github_actions_citation()
adds a new GitHub action to update theCITATION.cff
fileadd_github_actions_document()
adds a new GitHub action to updateRd
files, theNAMESPACE
and theDESCRIPTION
files
-
Improvements
get_deps_*()
better detects project dependenciesadd_compendium()
allows now the user to choose its own compendium structure
-
Minor changes
- Update GitHub Actions templates (
yaml
files) - Update README templates
- The
man/
folder andNAMESPACE
are now untracked by git (for compendium only) - Remove dependencies badge in README
- Change default values of
lifecycle
andstatus
arguments innew_package()
- Change commit messages in
new_*()
functions (conventional commits)
- Update GitHub Actions templates (
-
Deprecated
refresh()
is now deprecated and will be deleted in the new version
- Update GitHub Actions templates (
yaml
files) - Detect current git branch name in
add_readme_rmd()
- Ignore
renv
files (R build and GitHub) inadd_renv()
- New feature:
add_dockerfile()
creates a basicDockerfile
in compendium (new argumentdokerfile
innew_compendium()
) based onrocker/rstudio
. - New feature:
add_renv()
initializerenv
environment in compendium (new argumentrenv
innew_compendium()
) - New feature:
add_github_actions_render()
will automatically render theREADME.md
on GitHub server after each push. This action is triggered only if theREADME.Rmd
has been modified since the last commit. Also add new argumentgh_render
innew_*()
functions. - New vignette: developing an R package
- New vignette: working with a compendium
- Function
add_dependencies()
allows now missingR/
folder and improves the detection of dependencies in vignettes. - Function
add_lifecycle_badge()
does not copy badge SVG in the project anymore. The image badge is now created using https://shields.io/. - Update GHA templates. They are now derived from: https://github.com/r-lib/actions/tree/v2-branch/examples
- Rename default vignette title (title is now Get Started)
- Add
cph
(copyright holder) tag inDESCRIPTION
file - Change default package hexSticker and add R script in
inst/package-sticker/
to easily change the hexSticker - Rename commits messages (and remove emoji)
- For compendium: arguments
gh_check
andwebsite
are nowFALSE
by default - For compendium: rename
rscripts/
folder toanalyses/
- For compendium: delete
paper/
folder - Review and improve documentation
- Rename templates file names
- Fix bug: detection of nested RStudio projects
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.