which
Code
use_version("1.2.3")
Condition
Error in `choose_version()`:
! `which` must be one of "major", "minor", "patch", or "dev", not "1.2.3".
Code
writeLines(read_utf8(proj_path("NEWS.md")))
Output
# {TESTPKG} 2.0.0
* Added a `NEWS.md` file to track changes to the package.
Code
writeLines(read_utf8(proj_path("NEWS.md")))
Output
# {TESTPKG} 0.0.2
# {TESTPKG} 0.0.1
* Added a `NEWS.md` file to track changes to the package.
Code
writeLines(lines)
Output
foo;
const char {TESTPKG}_version = "1.0.0.9000";
bar;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.