content/docs/learned.md

title: Learned author: 'Peter Baumgartner' date: '2019-06-04' slug: changes lastmod: '2019-06-05' toc: no disable_comments: yes draft: yes description: 'This is a test!'

Recommended workflow

How to use the children shortcode in frontmatter and text

The Combination in children front matter and children shortcode is counterintuitive:

fileListing: yes is almost the same as children: frontmatter=no and shortcode children but includes a date!

YAML front matter

RStudio

Updates R, R packages, RStudio, and pandoc

Updates of my many R packages are very often, pratically on a dayly bases. New versions are coming all 3 moths or so. Here I have written a script that will inform me if there is a new R version available.

# check if there is a new R version available (for the macOS)

if (rversions::r_release_macos()$version != paste0(R.version$major, ".", R.version$minor)){
message("There is a new R version for macOS available. See my notes to updateR in '~/.Rprofile'.")}

Besides of regularily update of R and R packages I have also to update RStudio and pandoc. pandoc is already bundled with RStudio but it seems to me, that I am using a special (extra) installation.

Form time to time I have to update pandoc because it seems that this is not done automatically. For instance I have version 1.19.2.1 installed, but currently (201906-05) there is in pandoc already version 2.7.2.

Both programs have comfortable package installer.

I noticed that my versions were outdated because of an error message:

Error in doc_parse_raw(x, encoding = encoding, base_url = base_url, as_html = as_html, : Space required after the Public Identifier [65]

After updating both software programs the error message disappeared!



petzi53/coinsR documentation built on Nov. 5, 2019, 12:20 a.m.