R/extendr-wrappers.R

Defines functions from_toml get_item remove_item insert_list format_lines format write read parse_toml new

Documented in from_toml get_item parse_toml

# Generated by extendr: Do not edit by hand

# nolint start

#
# This file was created with the following call:
#   .Call("wrap__make_tomledit_wrappers", use_symbols = TRUE, package_name = "tomledit")

#' @usage NULL
#' @useDynLib tomledit, .registration = TRUE
NULL

Toml <- new.env(parent = emptyenv())

Toml$new <- function() .Call(wrap__Toml__new)

Toml$parse_toml <- function(x) .Call(wrap__Toml__parse_toml, x)

Toml$read <- function(path) .Call(wrap__Toml__read, path)

Toml$write <- function(path) .Call(wrap__Toml__write, self, path)

Toml$format <- function() .Call(wrap__Toml__format, self)

Toml$format_lines <- function() .Call(wrap__Toml__format_lines, self)

Toml$insert_list <- function(x, df_as_array) .Call(wrap__Toml__insert_list, self, x, df_as_array)

Toml$remove_item <- function(key) .Call(wrap__Toml__remove_item, self, key)

Toml$get_item <- function(x) .Call(wrap__Toml__get_item, self, x)

Toml$from_toml <- function() .Call(wrap__Toml__from_toml, self)

#' @export
`$.Toml` <- function (self, name) { func <- Toml[[name]]; environment(func) <- environment(); func }

#' @export
`[[.Toml` <- `$.Toml`


# nolint end

Try the tomledit package in your browser

Any scripts or data that you put into this service are public.

tomledit documentation built on April 11, 2025, 6:14 p.m.