-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when knitting after update #108
Comments
I am having a similar issue when knitting a document. As far as I can tell it is originating with
This throws the similar error to above:
Some session details:
|
For now, revert to the previous version of tibble using this code to get things working again.
|
Reprex: library(vitae)
#>
#> Attaching package: 'vitae'
#> The following object is masked from 'package:stats':
#>
#> filter
skills <- tibble::tribble(
~a, ~b,
"a1","b1",
"a2","b2",
"a3","b3"
)
skills %>%
detailed_entries(what = a, with = b) %>%
knitr::knit_print()
#> Error: Can't convert from <character> to <logical> due to loss of precision.
#> * Locations: 1 Created on 2020-04-15 by the reprex package (v0.3.0) |
Should work better now, thanks! |
Hi, I'm having a similar issue. Has there been an update on this bug?
Traceback from markdown:
The same error happens with SessionInfo (ran it here again after re-installing tibble 3.0.4):
|
I've traced the error back to this line. It seems the way in which entries are formatted has changed and your output must first be passed through one of the This should be fixed by calling one of the aforementioned wrappers in the Okay, so in the last working version I had used a custom function for the output like so:
I tried out simply using
which worked just fine. But I want to use my own variation of the style, so I looked inside
The spacing is off compared to the previous version, but I suppose a fix will just take some fiddling with the template files and functions. Hopefully the above will be enough to resolve the problem for anyone else that stumbles upon it. Finally, worth mentioning I did revert to 2.1.3 Okay, final update. Got my custom template function working on R 4.0.2, though it still required going back to I'm also using
|
Thank you @lunafazio your solution worked for me for awhile, and now is no longer working under these versions:
|
I had a cv set up and working beautifully based on the hyndman template.
However, having updated a bunch of packages (now on vitae v0.2.1), the Rmarkdown file still runs fine, but I get the following error message when I attempt to knit to pdf.
Any suggestions gratefully received.
The text was updated successfully, but these errors were encountered: