Bug fixes
get_all_functions()
better detects functions (e.g. function ()
)add_sticker()
copies the sticker template in figures/readme/
and no more in man/figures/
(listed in the .gitignore
)Minor changes
crayon
and clisymbols
in favor of cli
add_compendium()
does not create subfolders in data/
Bug fixes
get_deps_*()
better detects project dependencies and does not delete
packages called w/ library("pkg")
or library('pkg')
add_sticker()
now copies the sticker template for compendiumMinor changes
New features
get_git_branch_name()
detects git branch nameadd_contributing()
adds a CONTRIBUTING.md
file and issue templatesadd_code_of_conduct()
adds a CODE_OF_CONDUCT.md
fileadd_github_actions_citation()
adds a new GitHub action to update the
CITATION.cff
fileadd_github_actions_document()
adds a new GitHub action to update Rd
files,
the NAMESPACE
and the DESCRIPTION
filesImprovements
get_deps_*()
better detects project dependenciesadd_compendium()
allows now the user to choose its own compendium structureMinor changes
yaml
files)man/
folder and NAMESPACE
are now untracked by git (for compendium only)lifecycle
and status
arguments in new_package()
new_*()
functions (conventional commits)Deprecated
refresh()
is now deprecated and will be deleted in the new versionyaml
files)add_readme_rmd()
renv
files (R build and GitHub) in add_renv()
add_dockerfile()
creates a basic Dockerfile
in compendium (new
argument dokerfile
in new_compendium()
) based on rocker/rstudio
.add_renv()
initialize renv
environment in compendium (new
argument renv
in new_compendium()
)add_github_actions_render()
will automatically render
the README.md
on GitHub server after each push. This action is triggered
only if the README.Rmd
has been modified since the last commit. Also
add new argument gh_render
in new_*()
functions.add_dependencies()
allows now missing R/
folder and improves the
detection of dependencies in vignettes.add_lifecycle_badge()
does not copy badge SVG in the project
anymore. The image badge is now created using https://shields.io/.cph
(copyright holder) tag in DESCRIPTION
fileinst/package-sticker/
to easily change the hexStickergh_check
and website
are now FALSE
by defaultrscripts/
folder to analyses/
paper/
folderAfter first submission to CRAN:
DESCRIPTION
file: replace "The aim of the package 'rcompendium' is to make
easier..." by "Makes easier..."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.utils::installed.packages()
by find.package()
new_compendium()
and add_compendium()
.gitignore
and .Rbuildignore
several namesadd_testthat()
, add_github_actions_codecov()
,
add_github_actions_codecov_badge()
, and add_codecov_badge()
new_package()
: test
and codecov
@examples
sectionsDESCRIPTION
fieldsgh::gh_whoami()
(no more github
argument)import
argument into compendium
vignettes/
(remove argument suggest
)tests/
path_proj()
usethis::proj_get()
instead of here::here()
add_github_badge()
in add_github_actions_check_badge()
add_github_actions_pkgdown_badge()
new_package()