Type: Package
Title: 'C++' Header Files from 'Abseil'
Version: 2023.8.2.1
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.
License: Apache License (≥ 2)
Suggests: Rcpp
Encoding: UTF-8
RoxygenNote: 7.2.3
URL: https://abseil.xingchi.li, https://github.com/doccstat/abseil-r
BugReports: https://github.com/doccstat/abseil-r/issues
NeedsCompilation: no
Packaged: 2023-10-01 18:38:17 UTC; doccstat
Author: Xingchi Li ORCID iD [ctb, cre, cph], Abseil Team [aut, cph]
Maintainer: Xingchi Li <anthony.li@stat.tamu.edu>
Repository: CRAN
Date/Publication: 2023-10-01 22:50:02 UTC

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()