Skip to content

typos #1848

@musvaage

Description

@musvaage

again
dependencies
evaluated
overwrites

the string pre-evaulated appears also in other packages

$ grep -nr "agan " usethis
usethis/R/roxygen.R:50:    Delete it and try agan or call {ui_code('use_roxygen_md(overwrite = TRUE)')}")
$ grep -nr dependences usethis
usethis/.github/CONTRIBUTING.md:23:*   Install all development dependences with `devtools::install_dev_deps()`, and then make sure the package passes R CMD check by running `devtools::check()`.
$ grep -nr evaulated usethis
usethis/inst/templates/tutorial-template.Rmd:41:*Here's an exercise where the chunk is pre-evaulated via the `exercise.eval` option (so the user can see the default output we'd like them to customize). We also add a "hint" to the correct solution via the chunk immediate below labeled `print-limit-hint`.*
$ grep -nr ovewrites usethis
usethis/principles.md:49:`write_over()` returns `FALSE` and does nothing if there is no need to overwrite (proposed file contents are same as existing) or if user says "no" and returns `TRUE` if it ovewrites.
$ 

The following is authorised for use and/or modification by the repository Maintainers.

$ cat typos.sh
#!/bin/sh

sed -i "s/agan/again/g" usethis/R/roxygen.R
sed -i "s/dependences/dependencies/g" usethis/.github/CONTRIBUTING.md
sed -i "s/evaulated/evaluated/g" usethis/inst/templates/tutorial-template.Rmd
sed -i "s/ovewrites/overwrites/g" usethis/principles.md
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions