tests/testthat/resources/glue.R

glue(
  "{library(A)}",
  "{ library(B) }"
)

glue(
  "<< <{{ library(C) }}> >>",
  .open  = "<",
  .close = ">"
)

glue(
    "{{ {library(D); { library(E) }; library(F)} }}"
)

glue(
  "Include: [[ library(G) ]]; Not included: [[[[ library(h) ]]]]",
  .open  = "[[",
  .close = "]]"
)

Try the renv package in your browser

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

renv documentation built on Sept. 19, 2023, 9:06 a.m.