r-patched-solaris-x86.rasciidoc()’s return value changed: it now has an attribute info. If you need to test whether it is TRUE or not, use isTRUE().python3 /path/to/repo/asccidoc.py /path/to/input.asciidoc, so we hard code checking out version 9.1.0, which is from 2020/02/11.r-devel-windows-x86_64-gcc10-UCRT.tools instead of xfun.tempdir()s on CRAN winbuilder on x86_64-w64-mingw32.git2r to gert.asciidoc to the minimal example in the vignette.fritools.rasciidoc()’s return value changed: it now gives TRUE on success and FALSE otherwise.rasciidoc() now catches all system errors and warnings from system2(). A missing installation of the recommended source-highlight does not throw a condition, so albeit the rendered output is not what you might expect it to be, the call to asciidoc is considered successful.asciidoc as CRAN’s Solaris 10 (r-patched-solaris-x86) fails with “asciidoc: FAILED: configuration file asciidoc.conf missing”: there seems to be a buggy asciidoc installation I cannot bypass.rasciidoc() now does not give warnings() or throws errors for missing SystemRequirements, adhering to “Writing R Extensions”, version 4.0.3 (2020-10-10): “A package should pass its checks without warnings nor errors without the external command being present.” To restore the warnings and errors, pass argument enforce_requirements = TRUE to render() (or rasciidoc()) or set options("enforce_requirements" = TRUE) to restore the original behaviour.rasciidoc(), render(), and adjust_asciidoc_hooks()).discover_python() to deal with python installations that will not be found using Sys.which("python").is_windows() to suppress running examples with elapsed times on CRAN/windows.source-highlight is not installed to fix errors reported by solaris running r-patched on CRAN.package_version() for python release candidates.render() now uses a working directory that defaults to the input file’s directory, allowing for the default file to source code. # rasciidoc 0.6.0
render() now works for R files with markup in roxygen comments that are parsed trough knitr::spin().
//[begin|end]\_only\_slide-blocks and //slide\_only-comments to allow for content for slidy only.