The project set_paper() named for this session: the one every function
works on when it is given no path.
Value
The project's root, or NULL when none is named; printed in a
sentence when called from the console, and returned invisibly then.
Examples
get_paper() # NULL: none named yet
#> No project is named. Name it once a session, from its folder: set_paper(".")
dir <- file.path(tempdir(), "my_paper")
create_paper(dir, git = FALSE)
#> Project created: /tmp/Rtmp92gqjt/my_paper
#> 1. open my_paper.Rproj
#> 2. library(easypaper)
#> 3. set_paper(".") # the project to work on, once a session
#> 4. render_html() # see ?render for every command
old <- set_paper(dir)
#> Working on /tmp/Rtmp92gqjt/my_paper
get_paper()
#> Working on /tmp/Rtmp92gqjt/my_paper
set_paper(old)
unlink(dir, recursive = TRUE)
