Package: wyz.code.offensiveProgramming 1.1.24

wyz.code.offensiveProgramming: Wizardry Code Offensive Programming

Allows to turn standard R code into offensive programming code. Provides code instrumentation to ease this change and tools to assist and accelerate code production and tuning while using offensive programming code technics. Should improve code robustness and quality. Function calls can be easily verified on-demand or in batch mode to assess parameter types and length conformities. Should improve coders productivity as offensive programming reduces the code size due to reduced number of controls all along the call chain. Should speed up processing as many checks will be reduced to one single check.

Authors:Fabien Gelineau <[email protected]>

wyz.code.offensiveProgramming_1.1.24.tar.gz
wyz.code.offensiveProgramming_1.1.24.zip(r-4.5)wyz.code.offensiveProgramming_1.1.24.zip(r-4.4)wyz.code.offensiveProgramming_1.1.24.zip(r-4.3)
wyz.code.offensiveProgramming_1.1.24.tgz(r-4.4-any)wyz.code.offensiveProgramming_1.1.24.tgz(r-4.3-any)
wyz.code.offensiveProgramming_1.1.24.tar.gz(r-4.5-noble)wyz.code.offensiveProgramming_1.1.24.tar.gz(r-4.4-noble)
wyz.code.offensiveProgramming_1.1.24.tgz(r-4.4-emscripten)wyz.code.offensiveProgramming_1.1.24.tgz(r-4.3-emscripten)
wyz.code.offensiveProgramming.pdf |wyz.code.offensiveProgramming.html
wyz.code.offensiveProgramming/json (API)

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

Peer review:

Bug tracker:https://github.com/neonira/offensiveprogrammingbook_v1.2.2/issues

On CRAN:

2.95 score 3 packages 4 scripts 549 downloads 34 exports 23 dependencies

Last updated 1 years agofrom:5d74405a7e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-winOKNov 18 2024
R-4.5-linuxOKNov 18 2024
R-4.4-winOKNov 18 2024
R-4.4-macOKNov 18 2024
R-4.3-winOKNov 18 2024
R-4.3-macOKNov 18 2024

Exports:defineEvaluationModesdefineFunctionReturnTypesParameterNamedefineTestCaseDefinitionsParameterNameEvaluationModeexploreObjectNamesVerificationfindFilesInPackageFunctionParameterNameFunctionParameterTypeFactorygetEllipsisNamegetObjectClassKindgetObjectClassNamesgetObjectFunctionArgumentNamesgetObjectFunctionNamesidentifyOPInstrumentationLevelisAuditablematchFunctionSignatureopInformationretrieveFactoryretrieveFunctionArgumentNamesretrieveFunctionArgumentsretrieveFunctionReturnTypesretrievePackageFunctionNamesretrieveTestCaseDefinitionsretrieveTestCaseDescriptionsrunFunctionrunTestCaserunTransientFunctionTestCaseDefinitionverifyClassNameverifyFunctionArgumentsverifyFunctionNameverifyFunctionReturnTypesDefinitionverifyObjectNamesverifyTestCaseDefinitions

Dependencies:clicpp11crayondata.tabledplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr

wyz.code.offensiveProgramming releases

Rendered fromrelease-notes.Rmdusingknitr::rmarkdownon Nov 18 2024.

Last update: 2023-09-25
Started: 2019-07-18

Readme and manuals

Help Manual

Help pageTopics
Define evaluation modesdefineEvaluationModes
define function return type parameter namedefineFunctionReturnTypesParameterName
Test case definition parameter namedefineTestCaseDefinitionsParameterName
Evaluation mode definitionEvaluationMode
Verify object namesexploreObjectNamesVerification
find files in packagefindFilesInPackage
Function parameter nameFunctionParameterName
Function parameter type factoryFunctionParameterTypeFactory
Get ellipsis.getEllipsisName
Get R object class kindgetObjectClassKind
Retrieve Function Arguments.getObjectClassNames hasMainClass
Retrieve Function Arguments.getObjectFunctionArgumentNames
Retrieve Function Names From ObjectgetClassTypicalFunctionNames getObjectFunctionNames
Identify Offensive Programming Instrumentation LevelidentifyOPInstrumentationLevel
Is AuditableisAuditable
Retrieve Function Arguments.matchFunctionSignature
Package functions informationopInformation
Print generic method for S3 class *_'EvaluationMode'_*print.EvaluationMode
Print generic method for S3 class *_'FunctionParameterName'_*print.FunctionParameterName
Print generic method for S3 class *_'TestCaseDefinition'_*print.TestCaseDefinition
Retrieve the type factory objectretrieveFactory
Retrieve Function Argument Names.retrieveFunctionArgumentNames
Retrieve Function Arguments.retrieveFunctionArguments
Retrieve function return typesretrieveFunctionReturnTypes
Retrieve Package Function NamesretrievePackageFunctionNames
Retrieve test case definitions or test case descriptions.retrieveTestCaseDefinitions retrieveTestCaseDescriptions
Run a _'function'_runFunction
Run test casesrunTestCase
Run Transient FunctionrunTransientFunction
Test Case DefinitionTestCaseDefinition
Verify Class NameverifyClassName
Verify Function ArgumentsverifyFunctionArguments
Verify function nameverifyFunctionName
Verify Function Return Types DefinitionverifyFunctionReturnTypesDefinition
Verify Object NamesverifyObjectNames
Verify Test Case DefinitionsverifyTestCaseDefinitions