Commit 5fb2ef5e authored by Gjalt-Jorn Peters's avatar Gjalt-Jorn Peters
Browse files

pushing

parent 058ed073
Pipeline #338558226 passed with stage
in 2 minutes and 42 seconds
......@@ -133,9 +133,9 @@ find_yaml_fragment_indices <- function(file,
firstRegularLine <- 1;
}
if (tail(corrected_yamlEnds, 1) > length(allLines)) {
lastRegularLine <- tail(corrected_yamlStarts, 1);
corrected_yamlEnds <- head(corrected_yamlEnds, -1);
if (utils::tail(corrected_yamlEnds, 1) > length(allLines)) {
lastRegularLine <- utils::tail(corrected_yamlStarts, 1);
corrected_yamlEnds <- utils::head(corrected_yamlEnds, -1);
} else {
lastRegularLine <- length(allLines);
}
......
......@@ -2,5 +2,5 @@ pandoc: 2.11.4
pkgdown: 1.6.1
pkgdown_sha: ~
articles: {}
last_built: 2021-07-15T20:43Z
last_built: 2021-07-16T17:30Z
......@@ -185,7 +185,7 @@ NULL to let <code><a href='https://rdrr.io/r/base/readLines.html'>readLines()</a
<span class='fu'><a href='https://rdrr.io/r/base/list.files.html'>list.files</a></span><span class='op'>(</span><span class='va'>examplePath</span><span class='op'>)</span>;
</div><div class='output co'>#&gt; [1] "attitude.dct" "behavior.dct" "intention.dct"</div><div class='input'><span class='co'>### Load these files</span>
<span class='fu'>yum</span><span class='fu'>::</span><span class='fu'>extract_yaml_dir</span><span class='op'>(</span>path<span class='op'>=</span><span class='va'>examplePath</span><span class='op'>)</span>;
</div><div class='output co'>#&gt; $`C:/Users/micro/AppData/Local/Temp/RtmpOme9Rr/temp_libpath4b4828e3ef5/yum/extdata/attitude.dct`
</div><div class='output co'>#&gt; $`C:/Users/micro/Documents/R/win-library/4.1/yum/extdata/attitude.dct`
#&gt; [[1]]
#&gt; [1] "---"
#&gt; [2] "dct:"
......@@ -281,7 +281,7 @@ NULL to let <code><a href='https://rdrr.io/r/base/readLines.html'>readLines()</a
#&gt; attr(,"class")
#&gt; [1] "yamlFragments" "list"
#&gt;
#&gt; $`C:/Users/micro/AppData/Local/Temp/RtmpOme9Rr/temp_libpath4b4828e3ef5/yum/extdata/behavior.dct`
#&gt; $`C:/Users/micro/Documents/R/win-library/4.1/yum/extdata/behavior.dct`
#&gt; [[1]]
#&gt; [1] "---" "dct:"
#&gt; [3] " -" " id: behavior_xl67k7w8j"
......@@ -294,7 +294,7 @@ NULL to let <code><a href='https://rdrr.io/r/base/readLines.html'>readLines()</a
#&gt; attr(,"class")
#&gt; [1] "yamlFragments" "list"
#&gt;
#&gt; $`C:/Users/micro/AppData/Local/Temp/RtmpOme9Rr/temp_libpath4b4828e3ef5/yum/extdata/intention.dct`
#&gt; $`C:/Users/micro/Documents/R/win-library/4.1/yum/extdata/intention.dct`
#&gt; [[1]]
#&gt; [1] "---"
#&gt; [2] "dct:"
......
......@@ -198,7 +198,7 @@ fragments in a file.</p>
<span class='fu'><a href='https://rdrr.io/r/base/list.files.html'>list.files</a></span><span class='op'>(</span><span class='va'>examplePath</span><span class='op'>)</span>;
</div><div class='output co'>#&gt; [1] "attitude.dct" "behavior.dct" "intention.dct"</div><div class='input'><span class='co'>### Load these files</span>
<span class='fu'>yum</span><span class='fu'>::</span><span class='fu'>load_yaml_dir</span><span class='op'>(</span>path<span class='op'>=</span><span class='va'>examplePath</span><span class='op'>)</span>;
</div><div class='output co'>#&gt; $`C:/Users/micro/AppData/Local/Temp/RtmpOme9Rr/temp_libpath4b4828e3ef5/yum/extdata/attitude.dct`
</div><div class='output co'>#&gt; $`C:/Users/micro/Documents/R/win-library/4.1/yum/extdata/attitude.dct`
#&gt; [[1]]
#&gt; [[1]]$dct
#&gt; [[1]]$dct[[1]]
......@@ -401,7 +401,7 @@ fragments in a file.</p>
#&gt; attr(,"class")
#&gt; [1] "yumFromFile" "list"
#&gt;
#&gt; $`C:/Users/micro/AppData/Local/Temp/RtmpOme9Rr/temp_libpath4b4828e3ef5/yum/extdata/behavior.dct`
#&gt; $`C:/Users/micro/Documents/R/win-library/4.1/yum/extdata/behavior.dct`
#&gt; [[1]]
#&gt; [[1]]$dct
#&gt; [[1]]$dct[[1]]
......@@ -425,7 +425,7 @@ fragments in a file.</p>
#&gt; attr(,"class")
#&gt; [1] "yumFromFile" "list"
#&gt;
#&gt; $`C:/Users/micro/AppData/Local/Temp/RtmpOme9Rr/temp_libpath4b4828e3ef5/yum/extdata/intention.dct`
#&gt; $`C:/Users/micro/Documents/R/win-library/4.1/yum/extdata/intention.dct`
#&gt; [[1]]
#&gt; [[1]]$dct
#&gt; [[1]]$dct[[1]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment