knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(mypackage.2)

To use the function square:

square(3)

To include plots:

plot(1:10, square(1:10))


hellobinrui/mypackage.2 documentation built on Oct. 31, 2022, 3:42 p.m.