You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new_blog_post("Intro to Felt Surrogacy", data = "1999-12-31", open = FALSE)
5
-
Condition
6
-
Error in `new_blog_post()`:
7
-
! There is already a 'intro-to-felt-surrogacy' directory in 'posts/'
8
-
9
1
# Error if not a quarto project
10
2
11
3
Code
12
4
new_blog_post("Intro to Felt Surrogacy", open = FALSE)
13
5
Condition
14
6
Error in `new_blog_post()`:
15
-
! You need to be at root of a Quarto project to create a blog post in the 'posts/' directory at 'C:/Users/chris/AppData/Local/Temp/RtmpU72EnV/test-blog-project-415061be69e8'.
7
+
! You need to be at root of a Quarto project to create a blog post in the 'posts/' directory at '<project directory>'.
16
8
17
9
---
18
10
19
11
Code
20
-
new_blog_post("Intro to Felt Surrogacy", wd = withr::local_tempdir(pattern = "test-blog-project-2-"),
21
-
open = FALSE)
12
+
new_blog_post("Intro to Felt Surrogacy", wd = tmp_dir, open = FALSE)
22
13
Condition
23
14
Error in `new_blog_post()`:
24
-
! You need to be at root of a Quarto project to create a blog post in the 'posts/' directory at 'C:/Users/chris/AppData/Local/Temp/RtmpU72EnV/test-blog-project-2-4150447c3b64'.
15
+
! You need to be at root of a Quarto project to create a blog post in the 'posts/' directory at '<project directory>'.
0 commit comments