Enhance handling of archived packages on CRAN when read.ctv(..., cran = TRUE)
and ctv2html(..., cran = TRUE)
.
Further improvements in ctv2html()
: Generate HTML5 with pandoc
now, improve preservation of link breaks (--wrap=preserve
).
Bug fix in read.ctv()
when pkg(..., priority = "core")
is used more than once on the same package name (reported by Rocio Joo).
Sorting the package list is done ignoring the case now.
Various improvements in ctv2html()
: Include explicit citation in header table, include instructions for contributions and installation (if cran = TRUE
), more compact layout of package list, handle task views without links section correctly.
Bug fix in read.ctv(file)
when file
is actually a full path and not just the name of file in the local working directory.
Make all examples of read.ctv()
conditional on knitr
and rmarkdown
being available (or xml2
being available in case of the legacy XML format).
Various substantial changes to support the launch of the CRAN Task View Initiative: Development and maintenance of CRAN task views will be overseen by a team of CRAN Task View Editors who review and approve new task views and help maintainers with onbaording. Infrastructure for this is moved from R-Forge to GitHub (with only the maintenance of the ctv
package remaining on R-Forge). The file format for task view files changes from the old XML-based format to a new leaner R-Markdown based format.
For the R package ctv
itself there is now a pkgdown web page at: https://ctv.R-Forge.R-project.org/.
The vignette("ctv-howto", package = "ctv")
has been completely rewritten, now describing the new R/Markdown-based format. (The vignette itself is now in HTML rather than in PDF format.)
For processing the legacy XML-based files the xml2
package is used now (instead of the XML
package).
Added <doi>
tag in the legacy XML format to add hyperlinks to DOIs, e.g., <doi>10.18637/jss.v067.i01</doi>
will be turned into https://doi.org/10.18637/jss.v067.i01.
The <gcode>
tag now explicitly resolves to https://code.google.com/archive/ (including the archive/
part) as Google Code has been archived in 2016.
<github>
tag can now be used to refer to projects on GitHub using markup like <github>user/project</github>
.
To support older versions of R (up to R 3.4.3), the server-side tools now explicitly use saveRDS(..., version = 2)
to store task view information.
<ohat>
packages are now at Omegahat.net rather than Omegahat.org.<url>
that can be used to display an official task view URL (and insert it into the metainformation tags). For CRAN task views the official URL is used by default.check_ctv_packages()
: Packages in <packagelist>
but not in <info>
were not computed correctly.<br/>
tags are preserved as such in the <info>
section.system.file()
instead of .find.package()
in vignette.system.file()
instead of .find.package()
in ?read.ctv
.check_ctv_packages()
for maintainers of CRAN task views. This checks whether <info>
and <packagelist>
are consistent and whether all packages are actually available in the repository.saveRDS()
/readRDS()
and not .saveRDS()
/.readRDS()
.update.views()
gains a filter
argument passed to available.packages()
, so that the packages can be filtered with respect to operating system type or free and open-source license etc.saveRDS()
instead of .saveRDS()
is now used in the server-side tools if available.Avoid usage of ≪
in Cluster.ctv
because it is not processed correctly on all platforms
Further improvement to available.views()
which now uses readRDS()
if available.
available.views()
for R 2.13.0 as the underlying .readRDS()
needed to be changed.Added download.views()
function (as suggested by Peter Ruckdeschel).
Restructured internals of install.views()
and update.views()
so that all three functions can use the same code for determining the list of packages that is going to be installed/updated/downloaded.
update.views()
was updated reflecting that bundles are not supported anymore.subset()
.useFancyQuotes = FALSE
).grep(..., extended = FALSE)
replaced by the more appropriate grep(..., fixed = TRUE)
.<rforge>
are now forced to be in lower case.In .ctv files a new tag is allowed: <ohat>
for links to Omegahat projects.
The tags <rforge>
and <gcode>
replace the previous <forge>
and <googlecode>
, respectively, in order to be more consistent with the terminology used in the CRAN Web pages.
Further improvements of server-side tools in order to provide tidy XHTML code.
The default style file included in the server-side tools is now CRAN_web.css
(rather than R.css
).
read.ctv()
and ctv2html()
now try harder to provide tidy XHTML code.CITATION
file.<googlecode>
tag.\itemize
in .Rd files for new R-devel.install.views()
and update.views()
: Argument dependencies = TRUE
has been removed (but can still be specified through ...
). Hence, by default, the defaults of install.packages()
are inherited. However, it is still possible to get the prior behaviour by setting dependencies explicitly in install.views()
/update.views()
.<bioc>
tag, similar to <forge>
).<code>
and <forge>
for CTV files.New function update.views() which only installs the packages from a view that are not installed or not up-to-date.
Added infrastructure for view version/date and contact e-mail address of the maintainer.
Adapted the server-side tools to the new web-structure of CRAN.