diff --git a/DESCRIPTION b/DESCRIPTION
index 1a3b6188..061c5f23 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,7 +1,7 @@
Package: officer
Type: Package
Title: Manipulation of Microsoft Word and PowerPoint Documents
-Version: 0.4.5.014
+Version: 0.5.0
Authors@R: c(
person("David", "Gohel", role = c("aut", "cre"),
email = "david.gohel@ardata.fr"),
diff --git a/NEWS.md b/NEWS.md
index ff443c4c..c0549eed 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,4 +1,4 @@
-# officer 0.4.5
+# officer 0.5.0
## New features
diff --git a/README.Rmd b/README.Rmd
index 534fc014..842f60e1 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -18,6 +18,7 @@ knitr::opts_chunk$set(
[![R build status](https://github.com/davidgohel/officer/workflows/R-CMD-check/badge.svg)](https://github.com/davidgohel/officer/actions)
[![version](https://www.r-pkg.org/badges/version/officer)](https://CRAN.R-project.org/package=officer)
+[![codecov test coverage](https://codecov.io/gh/davidgohel/officer/branch/master/graph/badge.svg)](https://app.codecov.io/gh/davidgohel/officer)
The officer package lets R users manipulate Word (`.docx`) and
diff --git a/README.md b/README.md
index 89fb92f3..515c048a 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,8 @@ officer R package
[![R build
status](https://github.com/davidgohel/officer/workflows/R-CMD-check/badge.svg)](https://github.com/davidgohel/officer/actions)
[![version](https://www.r-pkg.org/badges/version/officer)](https://CRAN.R-project.org/package=officer)
+[![codecov test
+coverage](https://codecov.io/gh/davidgohel/officer/branch/master/graph/badge.svg)](https://app.codecov.io/gh/davidgohel/officer)
The officer package lets R users manipulate Word (`.docx`) and
@@ -33,15 +35,15 @@ one by default) and lets you modify its content later.
The package provides functions to add R outputs into a Word document:
-- images: produce your plot in png or emf files and add them into the
- document, as a whole paragraph or inside a paragraph.
-- tables: add data.frames as tables, format is defined by the
- associated Word table style.
-- text: add text as paragraphs or inside an existing paragraph, format
- is defined by the associated Word paragraph and text styles.
-- field codes: add Word field codes inside paragraphs. Field codes is
- an old feature of MS Word to create calculated elements such as
- tables of contents, automatic numbering and hyperlinks.
+- images: produce your plot in png or emf files and add them into the
+ document, as a whole paragraph or inside a paragraph.
+- tables: add data.frames as tables, format is defined by the associated
+ Word table style.
+- text: add text as paragraphs or inside an existing paragraph, format
+ is defined by the associated Word paragraph and text styles.
+- field codes: add Word field codes inside paragraphs. Field codes is an
+ old feature of MS Word to create calculated elements such as tables of
+ contents, automatic numbering and hyperlinks.
File generation is performed with the `print` function.
@@ -59,12 +61,11 @@ empty one by default) and let you modify its content later.
The package provides functions to add R outputs into existing or new
PowerPoint slides:
-- images: produce your plot in png or emf files and add them in a
- slide.
-- tables: add data.frames as tables, format is defined by the
- associated PowerPoint table style.
-- text: add text as paragraphs or inside an existing paragraph, format
- is defined in the corresponding layout of the slide.
+- images: produce your plot in png or emf files and add them in a slide.
+- tables: add data.frames as tables, format is defined by the associated
+ PowerPoint table style.
+- text: add text as paragraphs or inside an existing paragraph, format
+ is defined in the corresponding layout of the slide.
In a PowerPoint document, one can set a slide as selected and reach a
particular shape (and remove it or add text).
@@ -148,10 +149,10 @@ documentation.
If you want to submit a Pull Request to integrate functions of yours,
please provide:
-- the new function(s) with code and roxygen tags (with examples)
-- a new section in the appropriate vignette that describes how to use
- the new function
-- add corresponding tests in directory `tests/testthat`.
+- the new function(s) with code and roxygen tags (with examples)
+- a new section in the appropriate vignette that describes how to use
+ the new function
+- add corresponding tests in directory `tests/testthat`.
By using rhub (run `rhub::check_for_cran()`), you will see if everything
is ok. When submitted, the PR will be evaluated automatically on travis
diff --git a/cran-comments.md b/cran-comments.md
index 8b9318bc..288b1537 100644
--- a/cran-comments.md
+++ b/cran-comments.md
@@ -1,6 +1,6 @@
## Test environments
-- local OS X install (R 4.2.1)
+- local OS X install (R 4.2.2)
- ubuntu 20.04 (release)
- winbuilder (with older, release and devel)