clean_files: Clean files in the docs folder that no longer exists in the...

View source: R/clean_files.R

clean_filesR Documentation

Clean files in the docs folder that no longer exists in the root path.

Description

If you have erased no longer needed files in the root directory, the render md files will continue to exists in the docs folder and hence, they will continue to appear in your webpage. This function checks if there are erased files in the root and delete them from the docs folder.

Usage

clean_files(path = "here")

Arguments

path

The path where your directory with your notes are located. If empty, it will take the path of the repository you are located.

Author(s)

Ronny Alexander Hernández Mora

Examples

## Not run: 
clean_files("~/Desktop/test_docmaker")

## End(Not run)


ronnyhdez/docmaker documentation built on April 26, 2023, 4:07 p.m.