Skip to content

Commit

Permalink
add name mangling of . to nf names (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
paciorek authored Dec 23, 2023
1 parent 1a7b06c commit 244ee1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/nimble/R/all_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ labelFunctionMetaCreator <- function() {
nextIndex <<- 1
return(invisible(NULL))
}
envName <- gsub("\\.", "_dot_", envName)
lead <- paste(lead, envName , sep = '_')
ans <- paste0(lead, nextIndex - 1 + (1:count))
nextIndex <<- nextIndex + count
Expand Down
3 changes: 3 additions & 0 deletions packages/nimble/inst/NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

## DEVELOPER LEVEL CHANGES

- Fix error with name mangling affecting packages that use nimble
and have dot(s) in the package name (issue #1332)

- Make change to `nimble-package` documentation to use `"_PACKAGE"`
instead of `@docType` per CRAN request (issue #1359).

Expand Down

0 comments on commit 244ee1f

Please sign in to comment.