Displaying 9 results from an estimated 9 matches for "nolint".
2017 Sep 06
4
post_processor in rmarkdown not working
...or() is not
run.
Best regards,
Thierry
post_processor <- function(
metadata, input_file, output_file, clean, verbose
) {
text <- readLines(output_file, warn = FALSE)
# set correct text in fmtext environment
end_first_page <- grep("\\\\EndFirstPage", text) #nolint
if (length(end_first_page) == 1) {
maketitle <- grep("\\\\maketitle", text) #nolint
text <- c(
text[1:(maketitle - 1)],
"\\begin{fmtext}",
text[(maketitle + 1):(end_first_page - 1)],
"\\end{fmtext}",
"\...
2017 Sep 07
0
post_processor in rmarkdown not working
...ry
>
> post_processor <- function(
> metadata, input_file, output_file, clean, verbose
> ) {
> text <- readLines(output_file, warn = FALSE)
>
> # set correct text in fmtext environment
> end_first_page <- grep("\\\\EndFirstPage", text) #nolint
> if (length(end_first_page) == 1) {
> maketitle <- grep("\\\\maketitle", text) #nolint
> text <- c(
> text[1:(maketitle - 1)],
> "\\begin{fmtext}",
> text[(maketitle + 1):(end_first_page - 1)],
> "\...
2017 Sep 07
0
post_processor in rmarkdown not working
...> post_processor <- function(
> metadata, input_file, output_file, clean, verbose
> ) {
> text <- readLines(output_file, warn = FALSE)
>
> # set correct text in fmtext environment
> end_first_page <- grep("\\\\EndFirstPage", text) #nolint
> if (length(end_first_page) == 1) {
> maketitle <- grep("\\\\maketitle", text) #nolint
> text <- c(
> text[1:(maketitle - 1)],
> "\\begin{fmtext}",
> text[(maketitle + 1):(end_first_page - 1)],
>...
2017 Sep 07
3
post_processor in rmarkdown not working
...<- function(
>> metadata, input_file, output_file, clean, verbose
>> ) {
>> text <- readLines(output_file, warn = FALSE)
>>
>> # set correct text in fmtext environment
>> end_first_page <- grep("\\\\EndFirstPage", text) #nolint
>> if (length(end_first_page) == 1) {
>> maketitle <- grep("\\\\maketitle", text) #nolint
>> text <- c(
>> text[1:(maketitle - 1)],
>> "\\begin{fmtext}",
>> text[(maketitle + 1):(end_first_pa...
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
...headers after the project headers (as per LLVM coding guidelines).
2. lib/sanitizer_common/sanitizer_internal_defs.h pollutes the namespace of everything defined after it, which is all/most of the sanitizer .h and .cc files and the included system headers with:
using namespace __sanitizer; // NOLINT
3. These are the definitions that conflict in this particular case, but this problem could reoccur in the future with other symbols as well:
enum memory_order {
memory_order_relaxed = 1 << 0,
memory_order_consume = 1 << 1,
memory_order_acquire = 1 << 2,
memory_order_relea...
2017 Sep 07
0
post_processor in rmarkdown not working
...? ? ?metadata, input_file, output_file, clean, verbose
> ? ?) {
> ? ? ?text <- readLines(output_file, warn = FALSE)
>
> ? ? ?# set correct text in fmtext environment
> ? ? ?end_first_page <- grep("\\\\EndFirstPage", text) #nolint
> ? ? ?if (length(end_first_page) == 1) {
> ? ? ? ?maketitle <- grep("\\\\maketitle", text) #nolint
> ? ? ? ?text <- c(
> ? ? ? ? ?text[1:(maketitle - 1)],
> ? ? ? ? ?"\\begin{fmtext}",
> ? ? ? ? ?text...
2017 Sep 07
2
post_processor in rmarkdown not working
...input_file, output_file, clean, verbose
>> ? ?) {
>> ? ? ?text <- readLines(output_file, warn = FALSE)
>>
>> ? ? ?# set correct text in fmtext environment
>> ? ? ?end_first_page <- grep("\\\\EndFirstPage", text) #nolint
>> ? ? ?if (length(end_first_page) == 1) {
>> ? ? ? ?maketitle <- grep("\\\\maketitle", text) #nolint
>> ? ? ? ?text <- c(
>> ? ? ? ? ?text[1:(maketitle - 1)],
>> ? ? ? ? ?"\\begin{fmtext}",
&g...
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
...gt; per LLVM coding guidelines).
>> 2. lib/sanitizer_common/sanitizer_internal_defs.h pollutes the namespace of
>> everything defined after it, which is all/most of the sanitizer .h and .cc
>> files and the included system headers with:
>> using namespace __sanitizer; // NOLINT
>> 3. These are the definitions that conflict in this particular case, but
>> this problem could reoccur in the future with other symbols as well:
>>
>> enum memory_order {
>> memory_order_relaxed = 1 << 0,
>> memory_order_consume = 1 << 1,
>>...
2017 Sep 08
0
post_processor in rmarkdown not working
...file, clean, verbose
>>> ) {
>>> text <- readLines(output_file, warn = FALSE)
>>>
>>> # set correct text in fmtext environment
>>> end_first_page <- grep("\\\\EndFirstPage", text) #nolint
>>> if (length(end_first_page) == 1) {
>>> maketitle <- grep("\\\\maketitle", text) #nolint
>>> text <- c(
>>> text[1:(maketitle - 1)],
>>> "\\beg...