
Last chance! 50% off unlimited learning
Sale ends in
Function to create easily function signature from an S3 class
generateS3MethodSignature(methodName_s_1, className_s_1, argumentNames_s)
a single string
that is the function/method name to consider
a single string
that is the class name to consider
a vector
of strings that are the function/method argument names
A single string
.
Refer to Writing R extensions to know more about R documentation requirements.
# NOT RUN {
print(generateReference(
list(url = 'https://neonira.github.io/offensiveProgrammingBook/',
label = 'Offensive Programming Book')
))
# provides following result
# "Refer to \href{https://neonira.github.io/offensiveProgrammingBook/}{Offensive Programming Book}."
# }
Run the code above in your browser using DataLab