You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to write a collaborative RMarkdown article. To do that, we have setup a group library. When I queue the bbt_libraries() function, it returns two libraries with IDs 1 (the local one) and 4 (the group one). However, when I use the "bbt_library_id(name_of_the_library)" function in the library_id argument of bbt_write_bib() function in the YAML header, the function returns 2, the row number of the group library rather than its ID. It means that the library ID has to be hard coded instead and makes the collaborative work more difficult.
The workaround is to call the functioning bbt_libraries() with the call rbbt::bbt_libraries()$id[rbbt::bbt_libraries()$name == 'name_of_the_library']
Thank you for the resolution!
The text was updated successfully, but these errors were encountered:
Hello all,
I am trying to write a collaborative RMarkdown article. To do that, we have setup a group library. When I queue the bbt_libraries() function, it returns two libraries with IDs 1 (the local one) and 4 (the group one). However, when I use the "bbt_library_id(name_of_the_library)" function in the library_id argument of bbt_write_bib() function in the YAML header, the function returns 2, the row number of the group library rather than its ID. It means that the library ID has to be hard coded instead and makes the collaborative work more difficult.
The workaround is to call the functioning bbt_libraries() with the call rbbt::bbt_libraries()$id[rbbt::bbt_libraries()$name == 'name_of_the_library']
Thank you for the resolution!
The text was updated successfully, but these errors were encountered: