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

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to