Package 'abseil'

Title: 'C++' Header Files from 'Abseil'
Description: Wraps the 'Abseil' 'C++' library for use by R packages. Original files are from <https://github.com/abseil/abseil-cpp>. Patches are located at <https://github.com/doccstat/abseil-r/tree/main/local/patches>.
Authors: Xingchi Li [ctb, cre, cph] , Abseil Team [aut, cph]
Maintainer: Xingchi Li <[email protected]>
License: Apache License (>= 2)
Version: 2023.8.2.1
Built: 2024-10-31 20:27:30 UTC
Source: https://github.com/doccstat/abseil-r

Help Index


abseil

Description

Wraps the 'Abseil' 'C++' library for use by R packages. Original files are from <https://github.com/abseil/abseil-cpp>. Patches are located at <https://github.com/doccstat/abseil-r/tree/main/local/patches>.

Examples

Rcpp::cppFunction(r"{
  #include "absl/strings/str_join.h"
  std::string joinString() {
    std::vector<std::string> v = {"foo","bar","baz"};
    return absl::StrJoin(v, "-");
  }
}", depends = "abseil")

joinString()