[R] roxygen2 error - x$tag operator is invalid for atomic vectors

Eric Berger ericjberger at gmail.com
Wed Jan 17 14:30:02 CET 2018


This is an error message from R.
For example, if you give the following R commands
>  a <- 5
> a$foo
This will generate the error message:
Error in a$foo : $ operator is invalid for atomic vectors

So you can search for the string 'x$tag' in your code (or possibly in the
package).

HTH,
Eric


On Wed, Jan 17, 2018 at 3: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]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list