- Removed names from arguments passed to
readr::write_lines()
andreadr::write_rds()
since they have deprecatedpath
in favor offile
. - Combined the
setup
andload_libraries
code chunks in all applicable template .Rmd files. - Removed
LazyData
line fromDESCRIPTION
file in compliance with new CRAN check.
- Bug fix to
projects()
's handling of thepath
argument, accommodating latest behavior offs::path_abs()
.
- Bug fix after breaking change in vctrs (
vec_cast(x, to = character())
changed toas.character(x)
)
- Addition of
rename_projects_folder()
andmove_projects_folder()
- Addition of
path
argument toprojects()
, allowing users to filter by subdirectory - Incorporation of
vctrs
package forprojects_stage
andprojects_author
classes
projects()
now prints a maximum of 100 rows by default.open_project()
attempts to locate projects on shared servers when the localprojects_folder()
value differs from the server'sprojects_folder()
value- Backslash inserted before any single quotation marks in projects folder path before being written to .Renviron
- Bug, documentation, README improvements
new_project()
now copies a single template project folder within .templates instead of assembling multiple template components into a file. This allows users to customize project folders to a very high degree. Thus,new_project()
has fewer arguments, having onlytemplate_folder
insofar as template-related arguments.- Consequently, header/title page YAML text is NOT written automatically into .Rmd files when they are created by
new_project()
. Users must runheader()
and copy the resulting text into desired .Rmd files. - Added the function email_authors(), which opens a new email for the currently open project (or, a specified project).
- There are now separate arguments in
new_project()
andcopy_project()
for specifying the new project's folder name. It can be distinct from a project'sshort_title
and itsid
number. - Updated documentation,
- Tilde expansion is performed in
setup_projects()
- Added tests
save_session_info()
function for savingsessioninfo::session_info()
to a text file.export_project()
for zipping project folders
- Improvements to default .Rmd files.
- Code improvements
- Moved all header material to YAML when generating 01_protocol.Rmd and 04_report.Rmd.
- YAML Output options no longer written in function; rather, they are expected to already be in the templates.
- Addition of .docx style template.
- Other minor tweaks to default .Rmd files.
- Bug fix: exported all methods for the
projects_stage
andprojects_author
S3 classes so that the class would not be stripped.
- Made
reorder_authors()
and alledit_*()
functions to stop printing metadata after successful editing. - Removed the
reprint_header
argument fromreorder_authors()
function, but added a message beckoning user to runheader()
, as inedit_project()
.
- Changed printing of projects table so it displays projects in descending order by stage before sorting them by id.
- Required a later rlang version so that as_label() is available.
- Fix of show-stopping bugs with update_metadata() and edit_project()
- Documentation updates for functions created in version 1.0.0 and 1.0.1.
- Fixed bug in internal acquisition of metadata tables.
- Fixed bug in open_projects()
- Changed number of rows that projects(), authors(), and affiliations() tibbles will print
- Created S3 classes implemented for each of stage and special authors (current_owner, corresp_auth, creator).
- Added update_metadata() function to assist with updating metadata from projects version 0.X.X to 1.X.X
- Addition of ideas(), new_idea(), and manuscripts().
- Overhaul of underlying code.
- More customizable print options for projects(),
- Minor improvements to printing of projects at the end of new_project() and edit_project()
- Instances of fs::path_home() were changed to fs::path_home_r() so that .Renviron files would be put in the correct place (i.e., the directory that R considers to be the home directory, which is where R actually looks for .Renviron files).
Users can now create custom names for project folders, linking the name to short_title
:
- Added the function
rename_folder()
, which enables the user to rename project folders. Added an example of this. - Added the logical argument
stitle_as_folder
tonew_project()
, which ifTRUE
makes the folder name of new projects the same as itsshort_title
. - Added the argument
new_short_title
tocopy_project()
, which enables users to change the project copy's folder name and/orshort_title
. - Made the
path
argument incopy_project()
second instead of fourth.
- Made
open_project()
better handle instances of missing/multiple .Rproj files. - Documentation updates
- Updated README.md so that it properly reflects how to install the
projects
package. - Updated README.md so that it contains CRAN version and download count badges.
- Release.