Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Apr 16, 2020
1 parent 1bb06a5 commit d3721ee
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 9 deletions.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ Imports:
memoise,
rappdirs
Suggests:
spelling,
git2r (>= 0.22.1),
nabor,
testthat (>= 2.1.0),
covr
Encoding: UTF-8
RoxygenNote: 7.1.0
BugReports: https://github.com/natverse/nat.templatebrains/issues
Language: en-GB
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ changes under the hood, hence the major version bump.
* add support for reglist objects containing one or more arbitrary transforms
as bridging or mirroring registrations. A function add_reglist makes it easy
to add new in memory reglist objects to those that can be used for bridging
/ mirroing between template brains (#21).
/ mirroring between template brains (#21).

# nat.templatebrains 0.6.2

Expand Down
2 changes: 1 addition & 1 deletion R/PACKAGE.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#'
#' @section Registrations: Functions such as \code{\link{xform_brain}} provided
#' by \code{nat.templatebrains} are not very useful unless you tell the
#' package about bridging/mirroring registrations that you have avilable.
#' package about bridging/mirroring registrations that you have available.
#' There are 4 supported ways to add registrations to the search list that
#' will be considered: \itemize{
#'
Expand Down
2 changes: 1 addition & 1 deletion R/reg_repos.R
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ make_reg_url<-function(url) {
#'
#' Note that this folder will always be the same place on a machine i.e. this
#' defines a consistent, persistent location on disk to store data across
#' sesssions.
#' sessions.
#'
#' When called with a url, a SHA1 hash will be calculated for the URL and
#' appended to the basepath. This should ensure that locations derived from
Expand Down
4 changes: 2 additions & 2 deletions R/templatebrain.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#'
#' A variety of methods are available to work on \code{templatebrain} objects. See
#' \code{\link{templatebrain-meths}} for basic methods. The two main functions
#' that are availavle for using template brains are \code{\link{xform_brain}} and
#' that are available for using template brains are \code{\link{xform_brain}} and
#' \code{\link{mirror_brain}}.
#'
#' \code{templatebrain} objects are only useful for transformation processes
Expand Down Expand Up @@ -68,7 +68,7 @@ templatebrain<-function(name, regName=name, type=NULL, sex=NULL, dims=NULL,
#' @return A list with class \code{\link{templatebrain}}
#' @details \code{as.templatebrain} can extract the key fields defining an
#' template space from an image file. This is generally a much more convenient
#' apprach to defining a \code{templatebrain} object than specifying all
#' approach to defining a \code{templatebrain} object than specifying all
#' fields by hand.
#'
#' @export
Expand Down
59 changes: 59 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
allreg
Amira
AmiraMesh
basepath
boundingbox
BridgingRegistrations
centers
CMTK
CMTK's
cmtkreg
color
devtools
dir
dirs
doi
dup
etc
FCWB
flybrains
FlyCircuit
getOption
github
igraph
im
imagedata
jefferislab
JFRC
Lifecycle
md
memoisation
memoised
meths
midplane
myregistrations
nat
natverse
nb
NeuroAnatomy
nrrd
NRRD
ORCID
pos
rappdirs
refbrains
reformatx
regdirs
reglist
regName
regtemplate
Rtools
seq
someimage
streamxform
templatebrain
templatebrains
travis
voxels
xform
xformpoints
2 changes: 1 addition & 1 deletion man/as.templatebrain.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/local_reg_dir_for_url.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/nat.templatebrains-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/templatebrain.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tests/spelling.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(requireNamespace('spelling', quietly = TRUE))
spelling::spell_check_test(vignettes = TRUE, error = FALSE,
skip_on_cran = TRUE)

0 comments on commit d3721ee

Please sign in to comment.