Package: bandicoot 1.0.1

bandicoot: Light-Weight 'python'-Like Object-Oriented System

A light-weight object-oriented system with 'python'-like syntax which supports multiple inheritances and incorporates a 'python'-like method resolution order.

Authors:Weihao Li [aut, cre, cph]

bandicoot_1.0.1.tar.gz
bandicoot_1.0.1.zip(r-4.7)bandicoot_1.0.1.zip(r-4.6)bandicoot_1.0.1.zip(r-4.5)
bandicoot_1.0.1.tgz(r-4.6-any)bandicoot_1.0.1.tgz(r-4.5-any)
bandicoot_1.0.1.tar.gz(r-4.7-any)bandicoot_1.0.1.tar.gz(r-4.6-any)
bandicoot_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
bandicoot/json (API)
NEWS

# Install 'bandicoot' in R:
install.packages('bandicoot', repos = c('https://tengmcing.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tengmcing/bandicoot/issues

Pkgdown/docs site:https://tengmcing.github.io

On CRAN:

Conda:

5.12 score 4 stars 1 packages 11 scripts 232 downloads 28 exports 1 dependencies

Last updated from:b06691733b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK121
source / vignettesOK183
linux-release-x86_64OK119
macos-release-arm64OK137
macos-oldrel-arm64OK128
windows-develOK79
windows-releaseOK83
windows-oldrelOK68
wasm-releaseOK104

Exports:%-%%-=%%+%%+=%%contains%%eq%%ge%%gt%%le%%lt%%ne%as_bandicoot_oopBASEbase_bind_fn_2_envcheck_methodcopy_attrdefine_pkg_fnis_bandicoot_oopiterlenmake_instantiatornew_classregister_methodreprsub_fn_body_namesuperuse_method

Dependencies:cli

Introduction to bandicoot

Rendered fromIntroduction-to-bandicoot.Rmdusingknitr::rmarkdownon May 09 2026.

Last update: 2024-03-07
Started: 2024-03-07

Readme and manuals

Help Manual

Help pageTopics
Subtraction operator%-%
S3 method of subtraction operator of a 'bandicoot_oop' object%-%.bandicoot_oop
In-place subtraction operator%-=%
S3 method of in-place subtraction operator of a 'bandicoot_oop' object%-=%.bandicoot_oop
Addition operator%+%
S3 method of addition operator of a 'bandicoot_oop' object%+%.bandicoot_oop
In-place addition operator%+=%
S3 method of in-place addition operator of a 'bandicoot_oop' object%+=%.bandicoot_oop
Membership test operator%contains%
S3 method of performing membership test operator of a 'bandicoot_oop' object%contains%.bandicoot_oop
The equals to operator%eq%
S3 method of performing the equals to operator of a 'bandicoot_oop' object%eq%.bandicoot_oop
The greater or equals to operator%ge%
S3 method of performing the greater or equals operator of a 'bandicoot_oop' object%ge%.bandicoot_oop
The greater than operator%gt%
S3 method of performing the greater than operator of a 'bandicoot_oop' object%gt%.bandicoot_oop
The less or equals to operator%le%
S3 method of performing the less or equals operator of a 'bandicoot_oop' object%le%.bandicoot_oop
The less than operator%lt%
S3 method of performing the less than operator of a 'bandicoot_oop' object%lt%.bandicoot_oop
The not equals to operator%ne%
S3 method of performing the not equals to operator of a 'bandicoot_oop' object%ne%.bandicoot_oop
Turn an environment into a 'bandicoot_oop' objectas_bandicoot_oop
BASE class environmentBASE base_
Direct parent classesBASE$..bases..
Class name and parent class names represented in a treeBASE$..class_tree..
Class name and parent class namesBASE$..class..
All names in the class or instance environmentBASE$..dir..
Class documentation locationBASE$..doc_pkg..
Initialization methodBASE$..init..
Instantiate statusBASE$..instantiated..
Length of the class or the instanceBASE$..len..
The containerBASE$..method_env..
List all methods of a class or an instanceBASE$..methods..
Method resolution orderBASE$..mro..
Build a new instance from a class or an instanceBASE$..new..
"Official" String representation of the objectBASE$..repr..
String representation of the objectBASE$..str..
Class nameBASE$..type..
Delete an attributeBASE$del_attr
Get value of an attribute or a methodBASE$get_attr
Whether or not an attribute or method existsBASE$has_attr
Instantiate methodBASE$instantiate
Set value of an attribute or a methodBASE$set_attr
Bind functions of the current environment to a target environmentbind_fn_2_env
Check each method body in an object if it contains names that do not explicitly bind to a specified namespace via '::'.check_method
Copy attributes and methods from classes or instancescopy_attr
Load functions from package namespaces into current environmentdefine_pkg_fn
Check whether the object is a 'bandicoot_oop' objectis_bandicoot_oop
Build an iteratoriter
S3 method of building an iterator of a 'bandicoot_oop' objectiter.bandicoot_oop
Compute the length of the objectlen
S3 method of computing the length of 'bandicoot_oop' objectlen.bandicoot_oop
Make convenient wrapper for instantiation methodmake_instantiator
Define a new classnew_class
S3 method of printing 'bandicoot_oop' objectprint.bandicoot_oop
Register method for an object environmentregister_method
The "official" string representation of an object.repr
S3 method of computing the "official" string representation of a 'bandicoot_oop' objectrepr.bandicoot_oop
Substitute a symbol in a function bodysub_fn_body_name
Get the parent class (the next class based on the method resolution order)super
Use a method in an object environmentuse_method