inst/testpackages/testpkg0/R/parseme.R

function() {
}
fa = function() TRUE

# a bracketless function with <-
f2 <- function() TRUE

# a bracketed function with =
f3 = function()
{
    TRUE

}

# a bracketed function with <-
f4 <- function()
{
    TRUE
}

# an lapply with an anonymous function
lapply(LETTERS, 
    function(x) {
    print(x)



})

# a function with arguments
f5 <- function(a, b, c) {}

f6 <- function(a=1, b, c) {}

f7 <- function(x, ...) {




}

Try the BiocCheck package in your browser

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

BiocCheck documentation built on Nov. 8, 2020, 5:38 p.m.