@@ -19,21 +19,21 @@ test_that("sr builds", {
1919 setwd(wd )
2020})
2121
22- test_that(" FSAR builds" , {
23- skip_on_ci()
24- wd <- getwd()
25- testing_path <- file.path(tempdir(), " fsar" )
26- unlink(testing_path , recursive = TRUE , force = TRUE )
27- dir.create(testing_path , showWarnings = FALSE )
28- setwd(testing_path )
29- suppressMessages(draft(" fsar" , create_dir = FALSE , edit = FALSE ))
30- suppressWarnings(render())
31- if (FALSE ) {
32- system(" open _book/fsar.docx" )
33- }
34- expect_true(file.exists(" _book/fsar.docx" ))
35- setwd(wd )
36- })
22+ # test_that("FSAR builds", {
23+ # skip_on_ci()
24+ # wd <- getwd()
25+ # testing_path <- file.path(tempdir(), "fsar")
26+ # unlink(testing_path, recursive = TRUE, force = TRUE)
27+ # dir.create(testing_path, showWarnings = FALSE)
28+ # setwd(testing_path)
29+ # suppressMessages(draft("fsar", create_dir = FALSE, edit = FALSE))
30+ # suppressWarnings(render())
31+ # if (FALSE) {
32+ # system("open _book/fsar.docx")
33+ # }
34+ # expect_true(file.exists("_book/fsar.docx"))
35+ # setwd(wd)
36+ # })
3737
3838test_that(" resdoc builds" , {
3939 wd <- getwd()
@@ -81,22 +81,22 @@ test_that("techreport builds in French", {
8181 setwd(wd )
8282})
8383
84- test_that(" FSAR builds in French" , {
85- skip_on_ci()
86- wd <- getwd()
87- testing_path <- file.path(tempdir(), " fsar_french" )
88- unlink(testing_path , recursive = TRUE , force = TRUE )
89- dir.create(testing_path , showWarnings = FALSE )
90- setwd(testing_path )
91- suppressMessages(draft(" fsar" , create_dir = FALSE , edit = FALSE ))
92- toggle_french()
93- suppressWarnings(render())
94- if (FALSE ) {
95- system(" open _book/fsar.docx" )
96- }
97- expect_true(file.exists(" _book/fsar.docx" ))
98- setwd(wd )
99- })
84+ # test_that("FSAR builds in French", {
85+ # skip_on_ci()
86+ # wd <- getwd()
87+ # testing_path <- file.path(tempdir(), "fsar_french")
88+ # unlink(testing_path, recursive = TRUE, force = TRUE)
89+ # dir.create(testing_path, showWarnings = FALSE)
90+ # setwd(testing_path)
91+ # suppressMessages(draft("fsar", create_dir = FALSE, edit = FALSE))
92+ # toggle_french()
93+ # suppressWarnings(render())
94+ # if (FALSE) {
95+ # system("open _book/fsar.docx")
96+ # }
97+ # expect_true(file.exists("_book/fsar.docx"))
98+ # setwd(wd)
99+ # })
100100
101101test_that(" resdoc builds in French" , {
102102 wd <- getwd()
0 commit comments