search for: roxygenise

Displaying 6 results from an estimated 6 matches for "roxygenise".

2018 Jan 17
3
roxygen2 error - x$tag operator is invalid for atomic vectors
Hi, I am trying to create my first R package. I will later today put the files on Github. However I gets this error and I can't find any reason for it: R> roxygen2::roxygenise() First time using roxygen2. Upgrading automatically... Error in x$tag : $ operator is invalid for atomic vectors R> Any ideas? Regards Martin M. S. Pedersen [[alternative HTML version deleted]]
2010 Nov 15
1
Create NAMESPACE file as 'package.skeleton()' would do
Hi there, is there a way to create a NAMESPACE file based on Rd-files (or whatever is needed in order to apply the regular expression "^[[:alpha:]]+" without(!) resorting to package.skeleton() (as this kind of interferes with roxygenize() pretty often)? Thanks a lot, Janko [[alternative HTML version deleted]]
2018 Jan 17
0
roxygen2 error - x$tag operator is invalid for atomic vectors
...16 PM, Martin M?ller Skarbiniks Pedersen < traxplayer at gmail.com> wrote: > Hi, > > I am trying to create my first R package. > I will later today put the files on Github. > > However I gets this error and I can't find any reason for it: > > R> roxygen2::roxygenise() > First time using roxygen2. Upgrading automatically... > Error in x$tag : $ operator is invalid for atomic vectors > R> > > Any ideas? > > Regards > Martin M. S. Pedersen > > [[alternative HTML version deleted]] > > _______________________________...
2024 Mar 20
1
Building Packages.
I have a source file with oxygen-style comments (and description & licence files), and I?m trying to build a package. oxygen & devtools seem to work, and the tarball exists, but install.packages balks. Does anyone know what?s happening? Regards, Jorgen Harmse. > roxygenise(package.dir,clean=TRUE) Setting `RoxygenNote` to "7.3.1" ? roxygen2 requires "Encoding: UTF-8" ? Current encoding is NA ? Loading jhBase Warning: ?? Conflicts ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????...
2011 Nov 13
0
Roxygen2: version 2.2
...xamples? ? #' str_length(letters)? ? #' str_length(c("i", "like", "programming", NA))? ? str_length <- function(string) { string <- check_string(string) ? ? ? nc <- nchar(string, allowNA = TRUE)? ? ? is.na(nc) <- is.na(string)? ? ? nc? ? } When you `roxygenise` your package these comments will be automatically transformed to the Rd file you need to pass `R CMD check`: ? ? \name{str_length}? ? \alias{str_length}? ? \title{The length of a string (in characters).}? ? \usage{str_length(string)}? ? \arguments{ ? ? \item{string}{input character vector}? ? }? ?...
2011 Nov 13
0
Roxygen2: version 2.2
...xamples? ? #' str_length(letters)? ? #' str_length(c("i", "like", "programming", NA))? ? str_length <- function(string) { string <- check_string(string) ? ? ? nc <- nchar(string, allowNA = TRUE)? ? ? is.na(nc) <- is.na(string)? ? ? nc? ? } When you `roxygenise` your package these comments will be automatically transformed to the Rd file you need to pass `R CMD check`: ? ? \name{str_length}? ? \alias{str_length}? ? \title{The length of a string (in characters).}? ? \usage{str_length(string)}? ? \arguments{ ? ? \item{string}{input character vector}? ? }? ?...