Title: "Cereal Headers for R and C++ Serialization"
Version: 1.3.2
Description: To facilitate using 'cereal' with R via 'cpp11' or 'Rcpp'. 'cereal' is a header-only C++11 serialization library. 'cereal' takes arbitrary data types and reversibly turns them into different representations, such as compact binary encodings, 'XML', or 'JSON'. 'cereal' was designed to be fast, light-weight, and easy to extend - it has no external dependencies and can be easily bundled with other code or used standalone. Please see https://uscilab.github.io/cereal/ for more information.
Depends: R (≥ 3.6.2)
License: BSD_2_clause + file LICENSE
Encoding: UTF-8
URL: https://github.com/wush978/Rcereal/
BugReports: https://github.com/wush978/Rcereal/issues
Suggests: cpp11(≥ 0.4.7), Rcpp(≥ 0.10.3), decor, git2r, httr, testthat, tools, knitr, rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.3.1
NeedsCompilation: no
Packaged: 2024-09-20 05:09:48 UTC; wush
Author: Wush Wu ORCID iD [aut, cre], Randolph Voorhies [ctb], Shane Grant [ctb], Stephen Wade ORCID iD [ctb]
Maintainer: Wush Wu <wush978@gmail.com>
Repository: CRAN
Date/Publication: 2024-09-20 13:50:16 UTC

Return the latest version of cereal on the GitHub.

Description

Uses the GitHub API to find the latest version of cereal.

Usage

last_version()

Details

Gets all the versions from GitHub via list_version() and selects the largest version number.

Value

package_version


List version(s) of cereal on GitHub.

Description

Use the GitHub API to query the versions of cereal.

Usage

list_version()

Details

The GitHub page of cereal is https://github.com/USCiLab/cereal, the tags are accessed via the GitHub API, from which a package_version object is coerced.

Value

package_version, a vector of available versions.


Update installed cereal headers

Description

Clone a different version of the cereal headers into R library.

Usage

update_version(version = last_version(), ...)

Arguments

version

character or package_version; the version to install, e.g. '1.3.2' or v1.3.2.

...

additional arguments passed to system.file(), e.g. lib.loc for the location of the library that Rcereal is installed in.

Details

This over-writes the installed cereal headers inside an R library. The default location for the files is found via system.file(). The library location can be specified by passing an argument lib.loc. See system.file() for further details.