gitlabr V2.1.0 – gitlab-ci with ‘pak’ and functions to deal with groups on GitLab
[This article was first published on Rtask, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
You can read the original post in its original format on Rtask website by ThinkR here: gitlabr V2.1.0 – gitlab-ci with ‘pak’ and functions to deal with groups on GitLab
A lot of cleanups, new features, and bug fixes for this new version of ‘gitlabr’. You will find brand-new CI/CD templates and functions to manage GitLab groups from R.
Brand new gitlab-ci with ‘pak’, ready to use
- The template for checking R packages uses {pak} for dependency management. You will no longer have issues with missing system dependencies.
- You should see better use of caching, especially cache sharing between jobs. You should spend less time waiting for things to process…
- The templates for bookdown have also been revised.
- You can choose whether to update R dependencies by installing them or not with
upgrade = TRUE
. - And a brand-new vignette to introduce how to use
gitlabr::use_gitlab_ci()
Managing GitLab groups
- You can now create, edit, and delete groups from R on your GitLab.
- You can also manage subgroups.
- You can retrieve lists of project and group members.
gitlabr v2.1.0
– Complete NEWS
Breaking changes
use_gitlab_ci()
does not userepo_name
anymore as “rocker” images fix CRAN to a specific date.- Functions deprecated since version 0.7 are removed
- Transfer ownership of the project to ThinkR-open
New features
use_gitlab_ci()
allows to decide whether to update R packages during the CI pipeline- Add vignette to explain how to use ‘gitlabr’ with GitLab CI
gl_new_group()
,gl_edit_group()
,gl_delete_group()
,gl_list_groups()
,gl_list_sub_groups()
to deal with groups on a GitLab instance (@mpolano)gl_new_subgroup()
to create a subgroup in a group (@margotbrd)gl_delete_file()
to delete a file in a repositorygl_list_project_members()
andgl_list_group_members
to retrieve members of a project or a group (#61, @datawookie)gitlab()
queries allow for a vector of parameters to be passed to the API. This is needed when the API asks for an array (@klmr)
Minor changes
multilist_to_tibble()
transforms a deep structured nested list from an API into a tibble (#86, @statnmap, @ymansiaux)
Bug fixes
gl_file_exists()
,gl_list_files()
,gl_push_file()
,gl_delete_file()
now work with files in subdirectories- Fix handling file path in sub-directories in
gl_push_file()
(#73, #111) - Fix combination of
page
andmax_page
for infinite pagination (#90) - Fix
auto_format=FALSE
(#82)
This post is better presented on its original ThinkR website here: gitlabr V2.1.0 – gitlab-ci with ‘pak’ and functions to deal with groups on GitLab
To leave a comment for the author, please follow the link and comment on their blog: Rtask.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.