[R-pkg-devel] invalid 'useSource' argument
Duncan Murdoch
murdoch@dunc@n @end|ng |rom gm@||@com
Sun Feb 23 21:44:20 CET 2020
On 23/02/2020 9:31 a.m., Zhuo Jia Dai wrote:
> I keep getting this error when Checking my package {disk.frame} on the
> latest R devel version.
>
> ```
>
> Attaching package: 'data.table'
>
> The following object is masked from 'package:purrr':
>
> transpose
>
> The following objects are masked from 'package:dplyr':
>
> between, first, last
>
> > cars.df = as.disk.frame(cars)
> > as.data.table(cars.df)
> Error in print.default(toprint, right = TRUE, quote = quote) :
> invalid 'useSource' argument
> Calls: <Anonymous> -> print.data.table -> print -> print.default
> Execution halted
>
> ```
>
> But if I just run the code in the example normally in the REPL then
> everything runs fine.
>
> I do my checking in Windows 10 using these commands.
>
> ```r
> remotes::install_github("xiaodaigh/disk.frame", ref="development")
> devtools::check()
> ```
>
> Is this a known bug? Can I still submit to CRAN?
You aren't using the standard method (R CMD check on the tarball) to
check your package. If you get this error with the standard method,
then you certainly should fix it before submitting.
Duncan Murdoch
More information about the R-package-devel
mailing list