Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
siriak committed Mar 12, 2024
2 parents 728bf8f + 3ddddee commit 6b69aa4
Show file tree
Hide file tree
Showing 103 changed files with 7,878 additions and 10,600 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/doc_builder.r
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ print(unlist(scriptlist))

cat("Compiling documentation from scripts.\n")
invisible(lapply(unlist(scriptlist), function(x) tryCatch(knitr::spin(x),
error = function(e) message("Error compiling: ", x))))
error = function(e) message("Error compiling: ", e))))

cat("R process done.\n")
7 changes: 5 additions & 2 deletions .github/workflows/documentation_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ jobs:
run: |
echo "Creating 'Documentation'"
mkdir -p documentation
- name: Install knitr dependency
- name: Install dependencies
run: |
echo "Installing R package dependencies. Scripts might have additional dependencies installed."
Rscript -e 'if (!require(knitr)) install.packages("knitr")'
- name: Documentation compilation
Rscript -e 'if (!require(markdown)) install.packages("markdown")'
- name: Remove old documentation
run: 'rm -rf documentation/*'
- name: Generate new documentation
run: 'Rscript .github/scripts/doc_builder.r'
- name: Commit Documentation
run: |
Expand Down
18 changes: 13 additions & 5 deletions DIRECTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,27 @@
* [Logistic Regression 2](https://github.com/TheAlgorithms/R/blob/HEAD/regression_algorithms/logistic_regression_2.r)
* [Multiple Linear Regression](https://github.com/TheAlgorithms/R/blob/HEAD/regression_algorithms/multiple_linear_regression.r)

## Searches
* [Binary Search](https://github.com/TheAlgorithms/R/blob/HEAD/searches/binary_search.r)
* [Linear Search](https://github.com/TheAlgorithms/R/blob/HEAD/searches/linear_search.r)

## Sorting Algorithms
* [Binary Insertion Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/binary_insertion_sort.r)
* [Bubble Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/bubble_sort.r)
* [Bucket Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/bucket_sort.r)
* [Cocktail Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/cocktail_sort.r)
* [Comb Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/comb_sort.r)
* [Counting Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/counting_sort.r)
* [Cycle Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/cycle_sort.r)
* [Heap Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/heap_sort.r)
* [Insertion Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/insertion_sort.r)
* [Merge Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/merge_sort.r)
* [Odd Even Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/odd_even_sort.r)
* [Pancake Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/pancake_sort.r)
* [Quick Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/quick_sort.r)
* [Radix Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/radix_sort.r)
* [Selection Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/selection_sort.r)
* [Shell Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/shell_sort.r)
* [Stooge Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/stooge_sort.r)


## Searches
* [Linear Search](https://github.com/TheAlgorithms/R/blob/master/searches/linear_search.r)
* [Binary Search](https://github.com/TheAlgorithms/R/blob/master/searches/binary_search.r)
* [Topological Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/topological_sort.r)
* [Wiggle Sort](https://github.com/TheAlgorithms/R/blob/HEAD/sorting_algorithms/wiggle_sort.r)
279 changes: 0 additions & 279 deletions documentation/ANN.html

This file was deleted.

Loading

0 comments on commit 6b69aa4

Please sign in to comment.